RangingSession.ICallback.OnClosed(Int32) Method

Definition

Called when the ranging session has closed.

[Android.Runtime.Register("onClosed", "(I)V", "GetOnClosed_IHandler:Android.Ranging.RangingSession/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)]
public void OnClosed(int reason);
[<Android.Runtime.Register("onClosed", "(I)V", "GetOnClosed_IHandler:Android.Ranging.RangingSession/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)>]
abstract member OnClosed : int -> unit

Parameters

reason
Int32

the reason why the session was closed, limited to values defined by Reason.

Attributes

Remarks

Called when the ranging session has closed.

Java documentation for android.ranging.RangingSession.Callback.onClosed(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