This interface is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
Information from one beacon.
Public Method Summary
| abstract byte[] |
getContent()
This method is deprecated. The Awareness API is deprecated and will be
turned down in a future Google Play services release, as early as January 2027.
There is no direct replacement.
|
| abstract String |
getNamespace()
This method is deprecated. The Awareness API is deprecated and will be
turned down in a future Google Play services release, as early as January 2027.
There is no direct replacement.
|
| abstract String |
getType()
This method is deprecated. The Awareness API is deprecated and will be
turned down in a future Google Play services release, as early as January 2027.
There is no direct replacement.
|
Public Methods
public abstract byte[] getContent ()
This method is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
Return the byte array content of the beacon attachment if it exists.
Returns
- Content of the beacon attachment, or null if there is no content.
public abstract String getNamespace ()
This method is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
Return the beacon namespace.
Returns
- Namespace of the beacon attachment.
public abstract String getType ()
This method is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services
release, as early as January 2027. There is no direct replacement.
Return the beacon type.
Returns
- Type of the beacon attachment.