Language

MediaRouter2.ControllerCallback Constructors

Definition

Overloads

Name Description
MediaRouter2.ControllerCallback()

Creates the callback base for routing-controller updates.

MediaRouter2.ControllerCallback(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

MediaRouter2.ControllerCallback()

Creates the callback base for routing-controller updates.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=30)]
public ControllerCallback();
Attributes

Remarks

Registration with a router is separate from construction. This callback object does not itself create or register a routing controller.

Applies to

MediaRouter2.ControllerCallback(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected ControllerCallback(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Media.MediaRouter2.ControllerCallback : nativeint * Android.Runtime.JniHandleOwnership -> Android.Media.MediaRouter2.ControllerCallback

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to