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
An integer Bluetooth status code. Success (0) means that the request was sent 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 BluetoothConnect permission. Additionally, an app must either have the BluetoothPrivileged or be associated with the Companion Device manager (see Associate(AssociationRequest, 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.