We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

message.BeaconId.Builder

Public Constructor Summary

Constructor
public BeaconId.Builder()
Creates an instance of BeaconId.

Public Method Summary

Return typeMethod name
BeaconIdbuild()
Creates an instance of BeaconId.
BeaconId.BuildersetIBeaconUuid(UUID iBeaconUuid)
Sets a 16-byte UUID.
BeaconId.BuildersetMajor(short major)
Returns the 2-byte major value.
BeaconId.BuildersetMinor(short minor)
Returns the 2-byte minor value.
BeaconId.BuildersetHexId(String hexId)
Sets hexId, which is a 16-byte ID containing a namespace and an instance.
BeaconId.Builder
setHexNamespace
(String hexNamespace)
Sets hexNamespace, which contains 10 bytes.
BeaconId.Builder
setHexInstance
(String hexInstance)
Sets hexInstance, which contains six bytes.

Public Constructors

Constructor
public BeaconId.Builder()
Creates an instance of BeaconId.

Public Methods

Method
public BeaconId build()
Creates an instance of BeaconId.
Method
public BeaconId.Builder setIBeaconUuid(UUID iBeaconUuid)
Sets a 16-byte UUID.

Parameters

Parameter nameParameter desc
iBeaconUuid16-byte UUID.
Method
public BeaconId.Builder setMajor(short major)
Returns the 2-byte major value.

Parameters

Parameter nameParameter desc
major2-byte major value.
Method
public BeaconId.Builder setMinor(short minor)
Returns the 2-byte minor value.

Parameters

Parameter nameParameter desc
minor2-byte minor value.
Method
public BeaconId.Builder setHexId(String hexId)
Sets hexId.

Parameters

Parameter nameParameter desc
hexId16-byte ID, which contains a namespace and an instance.
Method
public BeaconId.Builder setHexNamespace(String hexNamespace)
Sets hexNamespace.

Parameters

Parameter nameParameter desc
hexNamespace10-byte namespace.
Method
public BeaconId.Builder setHexInstance(String hexInstance)
Sets hexInstance.

Parameters

Parameter nameParameter desc
hexInstance6-byte instance.
Search
Enter a keyword.