Loading api/current.txt +4 −4 Original line number Diff line number Diff line Loading @@ -15070,7 +15070,7 @@ package android.media { method public android.media.MediaMetadata.Builder putString(java.lang.String, java.lang.String); } public abstract class MediaMetadataEditor { public abstract deprecated class MediaMetadataEditor { method public synchronized void addEditableKey(int); method public abstract void apply(); method public synchronized void clear(); Loading Loading @@ -15540,7 +15540,7 @@ package android.media { field public static final int RATING_THUMB_UP_DOWN = 2; // 0x2 } public class RemoteControlClient { public deprecated class RemoteControlClient { ctor public RemoteControlClient(android.app.PendingIntent); ctor public RemoteControlClient(android.app.PendingIntent, android.os.Looper); method public android.media.RemoteControlClient.MetadataEditor editMetadata(boolean); Loading Loading @@ -15572,7 +15572,7 @@ package android.media { field public static final int PLAYSTATE_STOPPED = 1; // 0x1 } public class RemoteControlClient.MetadataEditor extends android.media.MediaMetadataEditor { public deprecated class RemoteControlClient.MetadataEditor extends android.media.MediaMetadataEditor { method public synchronized void apply(); field public static final int BITMAP_KEY_ARTWORK = 100; // 0x64 } Loading @@ -15589,7 +15589,7 @@ package android.media { method public abstract void onPlaybackPositionUpdate(long); } public final class RemoteController { public final deprecated class RemoteController { ctor public RemoteController(android.content.Context, android.media.RemoteController.OnClientUpdateListener) throws java.lang.IllegalArgumentException; ctor public RemoteController(android.content.Context, android.media.RemoteController.OnClientUpdateListener, android.os.Looper) throws java.lang.IllegalArgumentException; method public boolean clearArtworkConfiguration(); media/java/android/media/MediaMetadataEditor.java +4 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package android.media; import android.graphics.Bitmap; import android.media.session.MediaSession; import android.os.Bundle; import android.os.Parcelable; import android.util.Log; Loading @@ -26,8 +27,10 @@ import android.util.SparseIntArray; * An abstract class for editing and storing metadata that can be published by * {@link RemoteControlClient}. See the {@link RemoteControlClient#editMetadata(boolean)} * method to instantiate a {@link RemoteControlClient.MetadataEditor} object. * * @deprecated Use {@link MediaMetadata} instead together with {@link MediaSession}. */ public abstract class MediaMetadataEditor { @Deprecated public abstract class MediaMetadataEditor { private final static String TAG = "MediaMetadataEditor"; /** Loading media/java/android/media/Metadata.java +2 −1 Original line number Diff line number Diff line Loading @@ -40,8 +40,9 @@ import java.util.TimeZone; the right get* method to fetch its value. @hide @deprecated Use {@link MediaMetadata}. */ public class Metadata @Deprecated public class Metadata { // The metadata are keyed using integers rather than more heavy // weight strings. We considered using Bundle to ship the metadata Loading media/java/android/media/RemoteControlClient.java +6 −2 Original line number Diff line number Diff line Loading @@ -63,8 +63,10 @@ import java.util.Iterator; * // create and register the remote control client * RemoteControlClient myRemoteControlClient = new RemoteControlClient(mediaPendingIntent); * myAudioManager.registerRemoteControlClient(myRemoteControlClient);</pre> * * @deprecated Use {@link MediaSession} instead. */ public class RemoteControlClient @Deprecated public class RemoteControlClient { private final static String TAG = "RemoteControlClient"; private final static boolean DEBUG = false; Loading Loading @@ -425,8 +427,10 @@ public class RemoteControlClient * has been set, use {@link #apply()} to make it the new metadata that should be displayed * for the associated client. Once the metadata has been "applied", you cannot reuse this * instance of the MetadataEditor. * * @deprecated Use {@link MediaMetadata} and {@link MediaSession} instead. */ public class MetadataEditor extends MediaMetadataEditor { @Deprecated public class MetadataEditor extends MediaMetadataEditor { // only use RemoteControlClient.editMetadata() to get a MetadataEditor instance private MetadataEditor() { } Loading media/java/android/media/RemoteController.java +3 −1 Original line number Diff line number Diff line Loading @@ -57,8 +57,10 @@ import java.util.List; * <p> * Registration requires the {@link OnClientUpdateListener} listener to be one of the enabled * notification listeners (see {@link android.service.notification.NotificationListenerService}). * * @deprecated Use {@link MediaController} instead. */ public final class RemoteController @Deprecated public final class RemoteController { private final static int MAX_BITMAP_DIMENSION = 512; private final static int TRANSPORT_UNKNOWN = 0; Loading Loading
api/current.txt +4 −4 Original line number Diff line number Diff line Loading @@ -15070,7 +15070,7 @@ package android.media { method public android.media.MediaMetadata.Builder putString(java.lang.String, java.lang.String); } public abstract class MediaMetadataEditor { public abstract deprecated class MediaMetadataEditor { method public synchronized void addEditableKey(int); method public abstract void apply(); method public synchronized void clear(); Loading Loading @@ -15540,7 +15540,7 @@ package android.media { field public static final int RATING_THUMB_UP_DOWN = 2; // 0x2 } public class RemoteControlClient { public deprecated class RemoteControlClient { ctor public RemoteControlClient(android.app.PendingIntent); ctor public RemoteControlClient(android.app.PendingIntent, android.os.Looper); method public android.media.RemoteControlClient.MetadataEditor editMetadata(boolean); Loading Loading @@ -15572,7 +15572,7 @@ package android.media { field public static final int PLAYSTATE_STOPPED = 1; // 0x1 } public class RemoteControlClient.MetadataEditor extends android.media.MediaMetadataEditor { public deprecated class RemoteControlClient.MetadataEditor extends android.media.MediaMetadataEditor { method public synchronized void apply(); field public static final int BITMAP_KEY_ARTWORK = 100; // 0x64 } Loading @@ -15589,7 +15589,7 @@ package android.media { method public abstract void onPlaybackPositionUpdate(long); } public final class RemoteController { public final deprecated class RemoteController { ctor public RemoteController(android.content.Context, android.media.RemoteController.OnClientUpdateListener) throws java.lang.IllegalArgumentException; ctor public RemoteController(android.content.Context, android.media.RemoteController.OnClientUpdateListener, android.os.Looper) throws java.lang.IllegalArgumentException; method public boolean clearArtworkConfiguration();
media/java/android/media/MediaMetadataEditor.java +4 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package android.media; import android.graphics.Bitmap; import android.media.session.MediaSession; import android.os.Bundle; import android.os.Parcelable; import android.util.Log; Loading @@ -26,8 +27,10 @@ import android.util.SparseIntArray; * An abstract class for editing and storing metadata that can be published by * {@link RemoteControlClient}. See the {@link RemoteControlClient#editMetadata(boolean)} * method to instantiate a {@link RemoteControlClient.MetadataEditor} object. * * @deprecated Use {@link MediaMetadata} instead together with {@link MediaSession}. */ public abstract class MediaMetadataEditor { @Deprecated public abstract class MediaMetadataEditor { private final static String TAG = "MediaMetadataEditor"; /** Loading
media/java/android/media/Metadata.java +2 −1 Original line number Diff line number Diff line Loading @@ -40,8 +40,9 @@ import java.util.TimeZone; the right get* method to fetch its value. @hide @deprecated Use {@link MediaMetadata}. */ public class Metadata @Deprecated public class Metadata { // The metadata are keyed using integers rather than more heavy // weight strings. We considered using Bundle to ship the metadata Loading
media/java/android/media/RemoteControlClient.java +6 −2 Original line number Diff line number Diff line Loading @@ -63,8 +63,10 @@ import java.util.Iterator; * // create and register the remote control client * RemoteControlClient myRemoteControlClient = new RemoteControlClient(mediaPendingIntent); * myAudioManager.registerRemoteControlClient(myRemoteControlClient);</pre> * * @deprecated Use {@link MediaSession} instead. */ public class RemoteControlClient @Deprecated public class RemoteControlClient { private final static String TAG = "RemoteControlClient"; private final static boolean DEBUG = false; Loading Loading @@ -425,8 +427,10 @@ public class RemoteControlClient * has been set, use {@link #apply()} to make it the new metadata that should be displayed * for the associated client. Once the metadata has been "applied", you cannot reuse this * instance of the MetadataEditor. * * @deprecated Use {@link MediaMetadata} and {@link MediaSession} instead. */ public class MetadataEditor extends MediaMetadataEditor { @Deprecated public class MetadataEditor extends MediaMetadataEditor { // only use RemoteControlClient.editMetadata() to get a MetadataEditor instance private MetadataEditor() { } Loading
media/java/android/media/RemoteController.java +3 −1 Original line number Diff line number Diff line Loading @@ -57,8 +57,10 @@ import java.util.List; * <p> * Registration requires the {@link OnClientUpdateListener} listener to be one of the enabled * notification listeners (see {@link android.service.notification.NotificationListenerService}). * * @deprecated Use {@link MediaController} instead. */ public final class RemoteController @Deprecated public final class RemoteController { private final static int MAX_BITMAP_DIMENSION = 512; private final static int TRANSPORT_UNKNOWN = 0; Loading