Language

RemoteConnection.RegisterCallback Method

Definition

Overloads

Name Description
RegisterCallback(RemoteConnection+Callback)

Adds a callback to this RemoteConnection.

RegisterCallback(RemoteConnection+Callback, Handler)

Adds a callback to this RemoteConnection.

RegisterCallback(RemoteConnection+Callback)

Adds a callback to this RemoteConnection.

[Android.Runtime.Register("registerCallback", "(Landroid/telecom/RemoteConnection$Callback;)V", "", ApiSince=23)]
public void RegisterCallback(Android.Telecom.RemoteConnection.Callback? callback);
[<Android.Runtime.Register("registerCallback", "(Landroid/telecom/RemoteConnection$Callback;)V", "", ApiSince=23)>]
member this.RegisterCallback : Android.Telecom.RemoteConnection.Callback -> unit

Parameters

callback
RemoteConnection.Callback

A Callback.

Attributes

Remarks

Java documentation for android.telecom.RemoteConnection.registerCallback(android.telecom.Callback).

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

RegisterCallback(RemoteConnection+Callback, Handler)

Adds a callback to this RemoteConnection.

[Android.Runtime.Register("registerCallback", "(Landroid/telecom/RemoteConnection$Callback;Landroid/os/Handler;)V", "", ApiSince=23)]
public void RegisterCallback(Android.Telecom.RemoteConnection.Callback? callback, Android.OS.Handler? handler);
[<Android.Runtime.Register("registerCallback", "(Landroid/telecom/RemoteConnection$Callback;Landroid/os/Handler;)V", "", ApiSince=23)>]
member this.RegisterCallback : Android.Telecom.RemoteConnection.Callback * Android.OS.Handler -> unit

Parameters

callback
RemoteConnection.Callback

A Callback.

handler
Handler

A Handler which command and status changes will be delivered to.

Attributes

Remarks

Adds a callback to this RemoteConnection.

Android reference for android.telecom.RemoteConnection.registerCallback.

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