Sequenceablepublic final class BleAdvertiseData extends Object implements Sequenceable
You can use BleAdvertiseData.Builder to create a BleAdvertiseData instance.
BleAdvertiser| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
BleAdvertiseData.Builder |
Ble advertising data instance builder.
|
Sequenceable.Producer<T>| 限定符和类型 | 方法 | 说明 |
|---|---|---|
PlainArray<byte[]> |
getManufacturerData() |
Get the manufacturer data array defined in this advertise data.
|
Map<SequenceUuid,byte[]> |
getServiceData() |
Get the service data map defined in this advertise data.
|
List<SequenceUuid> |
getServiceUuids() |
Get the service UUID list defined in this advertising data.
|
boolean |
marshalling(Parcel out) |
Marshals this
Sequenceable object into a Parcel. |
boolean |
unmarshalling(Parcel in) |
Unmarshals this
Sequenceable object from a Parcel. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasFileDescriptorpublic List<SequenceUuid> getServiceUuids()
public Map<SequenceUuid,byte[]> getServiceData()
public PlainArray<byte[]> getManufacturerData()
public boolean marshalling(Parcel out)
SequenceableSequenceable object into a Parcel.marshalling 在接口中 Sequenceableout - Indicates the Parcel object to which the Sequenceable
object will be marshaled..true if the marshalling is successful; returns false otherwise.public boolean unmarshalling(Parcel in)
SequenceableSequenceable object from a Parcel.unmarshalling 在接口中 Sequenceablein - Indicates the Parcel object into which the Sequenceable
object has been marshaled.true if the unmarshalling is successful; returns false otherwise.