RangingSession.RemoveDeviceFromRangingSession(RangingDevice) Method

Definition

Removes a specific device from an ongoing ranging session.

[Android.Runtime.Register("removeDeviceFromRangingSession", "(Landroid/ranging/RangingDevice;)V", "", ApiSince=36)]
[Android.Runtime.RequiresPermission("android.permission.RANGING")]
public void RemoveDeviceFromRangingSession(Android.Ranging.RangingDevice rangingDevice);
[<Android.Runtime.Register("removeDeviceFromRangingSession", "(Landroid/ranging/RangingDevice;)V", "", ApiSince=36)>]
[<Android.Runtime.RequiresPermission("android.permission.RANGING")>]
member this.RemoveDeviceFromRangingSession : Android.Ranging.RangingDevice -> unit

Parameters

rangingDevice
RangingDevice

the device to be removed from the session.

Attributes

Remarks

Removes a specific device from an ongoing ranging session.

This method removes a specified device from the active ranging session, stopping further ranging operations for that device. The operation is handled by the system server and may throw a RemoteException in case of server-side communication issues.

Java documentation for android.ranging.RangingSession.removeDeviceFromRangingSession(android.ranging.RangingDevice).

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