public class PeripheralBeacon extends Object implements android.os.Parcelable
修飾子とタイプ | フィールドと説明 |
---|---|
static android.os.Parcelable.Creator<PeripheralBeacon> |
CREATOR |
コンストラクタと説明 |
---|
PeripheralBeacon(String name,
String macAddress,
byte[] record,
double distanceMeter) |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
describeContents() |
BeaconData |
getBeaconData() |
double |
getDistanceMeter() |
String |
getMacAddress() |
String |
getName() |
String |
getUniqueId()
Beaconを一意に識別可能なIDを生成する
|
void |
readFromParcel(android.os.Parcel in) |
void |
setDistanceMeter(double distanceMeter) |
void |
setMacAddress(String macAddress) |
void |
setName(String name) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<PeripheralBeacon> CREATOR
public String getUniqueId()
public BeaconData getBeaconData()
public String getName()
public void setName(String name)
public double getDistanceMeter()
public void setDistanceMeter(double distanceMeter)
public String getMacAddress()
public void setMacAddress(String macAddress)
public int describeContents()
describeContents
インタフェース内 android.os.Parcelable
public void readFromParcel(android.os.Parcel in)
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
インタフェース内 android.os.Parcelable