uuidSet
. Once the service is found, the attributes specified in attrSet
and the default attributes are retrieved. The default attributes are ServiceRecordHandle (0x0000), ServiceClassIDList (0x0001), ServiceRecordState (0x0002), ServiceID (0x0003), and ProtocolDescriptorList (0x0004).If attrSet
is null
then only the default attributes will be retrieved. attrSet
does not have to be sorted in increasing order, but must only contain values in the range [0 - (216-1)].
@see DiscoveryListener
@param attrSet indicates the attributes whose values will beretrieved on services which have the UUIDs specified in uuidSet
@param uuidSet the set of UUIDs that are being searched for; allservices returned will contain all the UUIDs specified here
@param btDev the remote Bluetooth device to search for services on
@param discListener the object that will receive events when services are discovered
@return the transaction ID of the service search; this number must be positive
@exception BluetoothStateException if the number of concurrentservice search transactions exceeds the limit specified by the bluetooth.sd.trans.max
property obtained from the class LocalDevice
or the system is unable to start one due to current conditions
@exception IllegalArgumentException if attrSet
has an illegal service attribute ID or exceeds the propertybluetooth.sd.attr.retrievable.max
defined in the class LocalDevice
; if attrSet
or uuidSet
is of length 0; if attrSet
or uuidSet
contains duplicates
@exception NullPointerException if uuidSet
, btDev
, or discListener
isnull
; if an element in uuidSet
array is null
|
|