Android Guides | Samples

Android.Media.MediaSyncEventType Enumeration

Enumerates values returned by several types and taken as a parameter of the MediaSyncEvent.CreateEvent member.

Syntax

public enum MediaSyncEventType

Remarks

Members

Member NameDescription
NoneNo sync event specified. When used with a synchronized playback or capture method, the behavior is equivalent to calling the corresponding non synchronized method.
PresentationCompleteThe corresponding action is triggered only when the presentation is completed (meaning the media has been presented to the user) on the specified session. A synchronization of this type requires a source audio session ID to be set via {@link #setAudioSessionId(int) method.

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Media.MediaSyncEventType are listed below.

See Also: Enum

Public Fields

NoneMediaSyncEventType. No sync event specified. When used with a synchronized playback or capture method, the behavior is equivalent to calling the corresponding non synchronized method.
PresentationCompleteMediaSyncEventType. The corresponding action is triggered only when the presentation is completed (meaning the media has been presented to the user) on the specified session. A synchronization of this type requires a source audio session ID to be set via {@link #setAudioSessionId(int) method.