Compartir a través de


MediaSyncEvent.CreateEvent(MediaSyncEventType) Method

Definition

Creates a synchronization event of the sepcified type.

[Android.Runtime.Register("createEvent", "(I)Landroid/media/MediaSyncEvent;", "")]
public static Android.Media.MediaSyncEvent? CreateEvent (Android.Media.MediaSyncEventType eventType);
[<Android.Runtime.Register("createEvent", "(I)Landroid/media/MediaSyncEvent;", "")>]
static member CreateEvent : Android.Media.MediaSyncEventType -> Android.Media.MediaSyncEvent

Parameters

eventType
MediaSyncEventType

the synchronization event type.

Returns

the MediaSyncEvent created.

Attributes

Exceptions

Remarks

Creates a synchronization event of the sepcified type.

The type specifies which kind of event is monitored. For instance, event #SYNC_EVENT_PRESENTATION_COMPLETE corresponds to the audio being presented to the user on a particular audio session.

Java documentation for android.media.MediaSyncEvent.createEvent(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to