ITransportHandleReceiveCallback.OnClose Method

Definition

Notifies the receiver that the TransportHandle instance can't be used anymore to receive or send data.

[Android.Runtime.Register("onClose", "()V", "GetOnCloseHandler:Android.Ranging.Oob.ITransportHandleReceiveCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)]
public void OnClose();
[<Android.Runtime.Register("onClose", "()V", "GetOnCloseHandler:Android.Ranging.Oob.ITransportHandleReceiveCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=36)>]
abstract member OnClose : unit -> unit
Attributes

Remarks

Notifies the receiver that the TransportHandle instance can't be used anymore to receive or send data. Also call this in AutoCloseable#close().

Java documentation for android.ranging.oob.TransportHandle.ReceiveCallback.onClose().

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