---
title: Player Beacon Entity (2022/06)
slug: develop/player-beacon-entity-202206
docTags: 
createdAt: 2025-03-11T07:03:30.743Z
---

The Player Beacon entity follows one of the structures below, depending on the type of interface (see `Mode`):

`iBeacon`

- `Name` <font color="#704ae0">string</font> <font color="#01a0af">read-write</font>: The name of the Player Beacon entity. The maximum length of this string is 255 characters.
- `Mode` <font color="#704ae0">PlayerBeaconMode</font> <font color="#01a0af">read-only</font>: "iBeacon"
- `Major` <font color="#704ae0">ushort</font> <font color="#01a0af">read-write</font>: An integer specifying the 2-byte Major value (0 to 65535)
- `Minor` <font color="#704ae0">ushort</font> <font color="#01a0af">read-write</font>: An integer specifying the 2-byte Minor value (0 to 65535)
- `UUID` <font color="#704ae0">GUID</font> <font color="#01a0af">read-write</font>: A string representation of a UUID, which can be in 16-bit, 32-bit, or 128-bit format. A 16-bit UUID must be exactly four hex digits with no punctuation; a 32-bit UUID must be exactly eight hex digits with no punctuation; and a 128-bit UUID must be punctuated exactly as follows: "cd7b6f81-f738-4cad-aebf-d2a2ea36d996".
- `Power` <font color="#704ae0">short</font> <font color="#01a0af">read-write</font>: An integer value that corresponds to the measurement of the Tx power level (in dBm) at 0 meters. 

`EddystoneUid`

- `Name` <font color="#704ae0">string</font> <font color="#01a0af">read-write</font>: The name of the Player Beacon entity. The maximum length of this string is 255 characters.
- `Mode` <font color="#704ae0">PlayerBeaconMode</font> <font color="#01a0af">read-only</font>: "EddystoneUid"
- `NamespaceID` <font color="#704ae0">byte[]</font> <font color="#01a0af">read-write</font>: A BASE64-encoded 10-byte value expressed as 20 hexadecimal digits
- `InstanceID` <font color="#704ae0">byte[]</font> <font color="#01a0af">read-write</font>: A BASE64-encoded 6-byte value expressed as 12 hexadecimal digits
- `Power` <font color="#704ae0">short</font> <font color="#01a0af">read-write</font>: An integer value that corresponds to the measurement of the Tx power level (in dBm) at 0 meters. 

`EddystoneUrl`

- `Name` <font color="#704ae0">string</font><font color="#01a0af"> read-write</font>: The name of the Player Beacon entity. The maximum length of this string is 255 characters.
- `Mode` <font color="#704ae0">PlayerBeaconMode</font> <font color="#01a0af">read-only</font>: "EddystoneUrl"
- `URL` <font color="#704ae0">URL</font> <font color="#01a0af">read-write</font>: The URL to encapsulate in the advertisement packet. 
- `Power` <font color="#704ae0">short</font> <font color="#01a0af">read-write</font>: An integer value that corresponds to the measurement of the Tx power level (in dBm) at 0 meters.

