BluetoothClass.DoesClassMatch(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.
Check class bits for possible bluetooth profile support.
[Android.Runtime.Register("doesClassMatch", "(I)Z", "", ApiSince=33)]
public bool DoesClassMatch (int profile);
[<Android.Runtime.Register("doesClassMatch", "(I)Z", "", ApiSince=33)>]
member this.DoesClassMatch : int -> bool
Parameters
- profile
- Int32
the profile to be checked
Returns
whether this device supports specified profile
- Attributes
Remarks
Check class bits for possible bluetooth profile support. This is a simple heuristic that tries to guess if a device with the given class bits might support specified profile. It is not accurate for all devices. It tries to err on the side of false positives.
Java documentation for android.bluetooth.BluetoothClass.doesClassMatch(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.