Android.Media.MediaSyncEvent Class
The MediaSyncEvent class defines events that can be used to synchronize playback or capture actions between different players and recorders.

See Also: MediaSyncEvent Members

Syntax

[Android.Runtime.Register("android/media/MediaSyncEvent", DoNotGenerateAcw=true)]
public class MediaSyncEvent : Java.Lang.Object

Remarks

The MediaSyncEvent class defines events that can be used to synchronize playback or capture actions between different players and recorders.

For instance, AudioRecord.StartRecording(MediaSyncEvent) is used to start capture only when the playback on a particular audio session is complete. The audio session ID is retrieved from a player (e.g Android.Media.MediaPlayer, Android.Media.AudioTrack or Android.Media.ToneGenerator) by use of the getAudioSessionId() method.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16