Share via


RangingSession.Stop Method

Definition

Stops the ranging session.

[Android.Runtime.Register("stop", "()V", "", ApiSince=36)]
[Android.Runtime.RequiresPermission("android.permission.RANGING")]
public void Stop();
[<Android.Runtime.Register("stop", "()V", "", ApiSince=36)>]
[<Android.Runtime.RequiresPermission("android.permission.RANGING")>]
member this.Stop : unit -> unit
Attributes

Remarks

Stops the ranging session.

This method releases any ongoing ranging operations. If the operation fails, it will propagate a RemoteException from the system server.

Java documentation for android.ranging.RangingSession.stop().

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