public class AdRecordStore
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static |
CREATOR |
| Constructor and Description |
|---|
AdRecordStore(
Instantiates a new Bluetooth LE device Ad Record Store.
|
AdRecordStore(Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
static <C> java.util.Collection<C> |
asList(
As list.
|
int |
describeContents() |
java.lang.String |
getLocalNameComplete()
Gets the short local device name.
|
java.lang.String |
getLocalNameShort()
Gets the complete local device name.
|
AdRecord |
getRecord(int record)
retrieves an individual record.
|
java.lang.String |
getRecordDataAsString(int record)
Gets the record data as string.
|
java.util.Collection<AdRecord> |
getRecordsAsCollection()
Gets the record as collection.
|
boolean |
isRecordPresent(int record)
Checks if is record present.
|
java.lang.String |
toString() |
void |
writeToParcel(Parcel parcel,
int arg1) |
public AdRecordStore(Parcel in)
public AdRecordStore(adRecords)
adRecords - the ad recordspublic int describeContents()
public java.lang.String getLocalNameComplete()
public java.lang.String getLocalNameShort()
public AdRecord getRecord(int record)
record - the recordpublic java.lang.String getRecordDataAsString(int record)
record - the recordpublic java.util.Collection<AdRecord> getRecordsAsCollection()
public boolean isRecordPresent(int record)
record - the recordpublic java.lang.String toString()
toString in class java.lang.Objectpublic void writeToParcel(Parcel parcel,
int arg1)
public static <C> java.util.Collection<C> asList(sparseArray)
C - the generic typesparseArray - the sparse array