summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2009-08-19 08:32:21 -0700
committerMarco Nelissen <marcone@google.com>2009-08-19 13:04:53 -0700
commitc818b141ee97a7a26fe069456d4b662d06c9eaea (patch)
treeb8dab289aafc825d14d7968f27a2e665cc2d1883 /api
parent460f541001112cdbee6902d33769191d5b264884 (diff)
downloadframeworks_base-c818b141ee97a7a26fe069456d4b662d06c9eaea.zip
frameworks_base-c818b141ee97a7a26fe069456d4b662d06c9eaea.tar.gz
frameworks_base-c818b141ee97a7a26fe069456d4b662d06c9eaea.tar.bz2
Do not enable the rew/pause/ffwd buttons when the media being played does not
support these functions. This extends the MediaPlayerControl interface with some new methods, and uses reflection to detect whether the old or new interface is used by an application.
Diffstat (limited to 'api')
-rw-r--r--api/current.xml66
1 files changed, 66 insertions, 0 deletions
diff --git a/api/current.xml b/api/current.xml
index e9082bc..ec76edb 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -175196,6 +175196,39 @@
deprecated="not deprecated"
visibility="public"
>
+<method name="canPause"
+ return="boolean"
+ abstract="true"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="canSeekBackward"
+ return="boolean"
+ abstract="true"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="canSeekForward"
+ return="boolean"
+ abstract="true"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
<method name="getBufferPercentage"
return="int"
abstract="true"
@@ -183524,6 +183557,39 @@
<parameter name="defStyle" type="int">
</parameter>
</constructor>
+<method name="canPause"
+ return="boolean"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="canSeekBackward"
+ return="boolean"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
+<method name="canSeekForward"
+ return="boolean"
+ abstract="false"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</method>
<method name="getBufferPercentage"
return="int"
abstract="false"