MediaSync.SetCallback(MediaSync+Callback, Handler) Method

Definition

Sets an asynchronous callback for actionable MediaSync events.

[Android.Runtime.Register("setCallback", "(Landroid/media/MediaSync$Callback;Landroid/os/Handler;)V", "", ApiSince=23)]
public void SetCallback (Android.Media.MediaSync.Callback? cb, Android.OS.Handler? handler);
[<Android.Runtime.Register("setCallback", "(Landroid/media/MediaSync$Callback;Landroid/os/Handler;)V", "", ApiSince=23)>]
member this.SetCallback : Android.Media.MediaSync.Callback * Android.OS.Handler -> unit

Parameters

cb
MediaSync.Callback

The callback that will run. Use null to stop receiving callbacks.

handler
Handler

The Handler that will run the callback. Use null to use MediaSync's internal handler if it exists.

Attributes

Remarks

Java documentation for android.media.MediaSync.setCallback(android.media.Callback, android.os.Handler).

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