BluetoothGatt.RequestSubrateMode(Int32) 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.
Request LE subrate mode.
[Android.Runtime.Register("requestSubrateMode", "(I)I", "", ApiSince=36)]
public int RequestSubrateMode(int subrateMode);
[<Android.Runtime.Register("requestSubrateMode", "(I)I", "", ApiSince=36)>]
member this.RequestSubrateMode : int -> int
Parameters
- subrateMode
- Int32
Request a specific subrate mode.
Returns
true, if the request is send to the Bluetooth stack.
- Attributes
Remarks
Request LE subrate mode.
This function will send a LE subrate request to the remote device.
This method requires the calling app to have the android.Manifest.permission#BLUETOOTH_CONNECT permission. Additionally, an app must either have the android.Manifest.permission#BLUETOOTH_PRIVILEGED or be associated with the Companion Device manager (see android.companion.CompanionDeviceManager#associate( AssociationRequest, android.companion.CompanionDeviceManager.Callback, Handler))
Java documentation for android.bluetooth.BluetoothGatt.requestSubrateMode(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.