RangingSession.RemoveDeviceFromRangingSession(RangingDevice) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.