@@ -10743,6 +10743,7 @@ package android.media {
1074310743 method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdateListener);
1074410744 method public void setRecordPositionUpdateListener(android.media.AudioRecord.OnRecordPositionUpdateListener, android.os.Handler);
1074510745 method public void startRecording() throws java.lang.IllegalStateException;
10746+ method public void startRecording(android.media.MediaSyncEvent) throws java.lang.IllegalStateException;
1074610747 method public void stop() throws java.lang.IllegalStateException;
1074710748 field public static final int ERROR = -1; // 0xffffffff
1074810749 field public static final int ERROR_BAD_VALUE = -2; // 0xfffffffe
@@ -11288,6 +11289,15 @@ package android.media {
1128811289 method public abstract void onScanCompleted(java.lang.String, android.net.Uri);
1128911290 }
1129011291
11292+ public class MediaSyncEvent {
11293+ method public static android.media.MediaSyncEvent createEvent(int) throws java.lang.IllegalArgumentException;
11294+ method public int getAudioSessionId();
11295+ method public int getType();
11296+ method public android.media.MediaSyncEvent setAudioSessionId(int) throws java.lang.IllegalArgumentException;
11297+ field public static final int SYNC_EVENT_NONE = 0; // 0x0
11298+ field public static final int SYNC_EVENT_PRESENTATION_COMPLETE = 1; // 0x1
11299+ }
11300+
1129111301 public class RemoteControlClient {
1129211302 ctor public RemoteControlClient(android.app.PendingIntent);
1129311303 ctor public RemoteControlClient(android.app.PendingIntent, android.os.Looper);
@@ -11405,6 +11415,7 @@ package android.media {
1140511415
1140611416 public class ToneGenerator {
1140711417 ctor public ToneGenerator(int, int);
11418+ method public final int getAudioSessionId();
1140811419 method public void release();
1140911420 method public boolean startTone(int);
1141011421 method public boolean startTone(int, int);
0 commit comments