BeaconInfo

public struct BeaconInfo

An object encapsulating information contained within the Amazon Sidewalk Beacon.

  • An enum showing the mode a device is in.

    See more

    Declaration

    Swift

    public enum DeviceMode : Int
  • An enum showing the battery status of a device.

    See more

    Declaration

    Swift

    public enum BatteryLevel : Int
  • The mode the device is in.

    Declaration

    Swift

    public var deviceMode: DeviceMode
  • The battery level of a device.

    Declaration

    Swift

    public var batteryLevel: BatteryLevel
  • Optional 4 character ascii encoded Advertised Product Identifier string, not present in all device beacons.

    Declaration

    Swift

    public var apID: String?
  • Optional 6 Byte MAC address in hexadecimal format with no separators (XXXXXXXXXXXX), not present in all device beacons.

    Declaration

    Swift

    public var macAddress: String?