# BeaconState.BeaconInfo

public static interface **BeaconState.BeaconInfo** **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](https://developers.google.com/android/reference/com/google/android/gms/awareness/state/BeaconState.BeaconInfo#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](https://developer.android.com/reference/java/lang/String.html) | [getNamespace](https://developers.google.com/android/reference/com/google/android/gms/awareness/state/BeaconState.BeaconInfo#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](https://developer.android.com/reference/java/lang/String.html) | [getType](https://developers.google.com/android/reference/com/google/android/gms/awareness/state/BeaconState.BeaconInfo#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](https://developer.android.com/reference/java/lang/String.html) **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](https://developer.android.com/reference/java/lang/String.html) **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.