/**@class android.bluetooth.BluetoothUuid @extends java.lang.Object Static helper methods and constants to decode the ParcelUuid of remote devices. @hide */ var BluetoothUuid = { /***/ AudioSink : "null", /***/ AudioSource : "null", /***/ AdvAudioDist : "null", /***/ HSP : "null", /***/ HSP_AG : "null", /***/ Handsfree : "null", /***/ Handsfree_AG : "null", /***/ AvrcpController : "null", /***/ AvrcpTarget : "null", /***/ ObexObjectPush : "null", /***/ Hid : "null", /***/ Hogp : "null", /***/ PANU : "null", /***/ NAP : "null", /***/ BNEP : "null", /***/ PBAP_PCE : "null", /***/ PBAP_PSE : "null", /***/ MAP : "null", /***/ MNS : "null", /***/ MAS : "null", /***/ SAP : "null", /***/ HearingAid : "null", /***/ BASE_UUID : "null", /**Length of bytes for 16 bit UUID */ UUID_BYTES_16_BIT : "2", /**Length of bytes for 32 bit UUID */ UUID_BYTES_32_BIT : "4", /**Length of bytes for 128 bit UUID */ UUID_BYTES_128_BIT : "16", /***/ RESERVED_UUIDS : "null", /** */ isAudioSource : function( ) {}, /** */ isAudioSink : function( ) {}, /** */ isAdvAudioDist : function( ) {}, /** */ isHandsfree : function( ) {}, /** */ isHeadset : function( ) {}, /** */ isAvrcpController : function( ) {}, /** */ isAvrcpTarget : function( ) {}, /** */ isInputDevice : function( ) {}, /** */ isPanu : function( ) {}, /** */ isNap : function( ) {}, /** */ isBnep : function( ) {}, /** */ isMap : function( ) {}, /** */ isMns : function( ) {}, /** */ isMas : function( ) {}, /** */ isSap : function( ) {}, /**Returns true if ParcelUuid is present in uuidArray @param {Object {android.os.ParcelUuid[]}} uuidArray - Array of ParcelUuids @param {Object {ParcelUuid}} uuid */ isUuidPresent : function( ) {}, /**Returns true if there any common ParcelUuids in uuidA and uuidB. @param {Object {android.os.ParcelUuid[]}} uuidA - List of ParcelUuids @param {Object {android.os.ParcelUuid[]}} uuidB - List of ParcelUuids */ containsAnyUuid : function( ) {}, /**Returns true if all the ParcelUuids in ParcelUuidB are present in ParcelUuidA @param {Object {android.os.ParcelUuid[]}} uuidA - Array of ParcelUuidsA @param {Object {android.os.ParcelUuid[]}} uuidB - Array of ParcelUuidsB */ containsAllUuids : function( ) {}, /**Extract the Service Identifier or the actual uuid from the Parcel Uuid. For example, if 0000110B-0000-1000-8000-00805F9B34FB is the parcel Uuid, this function will return 110B @param {Object {ParcelUuid}} parcelUuid @return {Number} the service identifier. */ getServiceIdentifierFromParcelUuid : function( ) {}, /**Parse UUID from bytes. The {@code uuidBytes} can represent a 16-bit, 32-bit or 128-bit UUID, but the returned UUID is always in 128-bit format. Note UUID is little endian in Bluetooth. @param {Object {byte[]}} uuidBytes Byte representation of uuid. @return {Object {android.os.ParcelUuid}} {@link ParcelUuid} parsed from bytes. @throws IllegalArgumentException If the {@code uuidBytes} cannot be parsed. */ parseUuidFrom : function( ) {}, /**Parse UUID to bytes. The returned value is shortest representation, a 16-bit, 32-bit or 128-bit UUID, Note returned value is little endian (Bluetooth). @param {Object {ParcelUuid}} uuid uuid to parse. @return {Number} shortest representation of {@code uuid} as bytes. @throws IllegalArgumentException If the {@code uuid} is null. */ uuidToBytes : function( ) {}, /**Check whether the given parcelUuid can be converted to 16 bit bluetooth uuid. @param {Object {ParcelUuid}} parcelUuid @return {Boolean} true if the parcelUuid can be converted to 16 bit uuid, false otherwise. */ is16BitUuid : function( ) {}, /**Check whether the given parcelUuid can be converted to 32 bit bluetooth uuid. @param {Object {ParcelUuid}} parcelUuid @return {Boolean} true if the parcelUuid can be converted to 32 bit uuid, false otherwise. */ is32BitUuid : function( ) {}, };