public class EddystoneURLBeacon extends Beacon
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<EddystoneURLBeacon> |
CREATOR |
Constructor and Description |
---|
EddystoneURLBeacon(byte[] data,
android.bluetooth.BluetoothDevice device) |
EddystoneURLBeacon(java.net.URL url)
Constructor for creating new URL Beacon advertisements for use with
BeaconConfiguration |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getTypeString()
Gets the type of this beacon as a string
|
java.net.URL |
getUrl() |
int |
hashCode() |
void |
setUrl(java.net.URL url) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getBluetoothDevice, getDistance, getLastSeen, getName, getRSSI, getTransmissionPower, getVisibilityTimeoutInterval, isVisible, setLastSeen, setRSSI, setVisibilityTimeoutInterval, updateProperties
public static final android.os.Parcelable.Creator<EddystoneURLBeacon> CREATOR
public EddystoneURLBeacon(byte[] data, android.bluetooth.BluetoothDevice device)
public EddystoneURLBeacon(java.net.URL url)
BeaconConfiguration
url
- The URL of the beacon.@Nullable public java.net.URL getUrl()
public void setUrl(java.net.URL url)
url
- The URL of the beaconpublic java.lang.String getTypeString()
Beacon
getTypeString
in class Beacon
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class Beacon
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class Beacon
public java.lang.String toString()
toString
in class java.lang.Object