Constants

The following constants are available globally.

  • The maximum number of session attributes

    Declaration

    Objective-C

    static const NSInteger HSBeaconMaxSessionAttributesCount = 20

    Swift

    let HSBeaconMaxSessionAttributesCount: Int32
  • The maximum length of a key used with session attributes

    Declaration

    Objective-C

    static const NSInteger HSBeaconMaxSessionLabelLength = 100

    Swift

    let HSBeaconMaxSessionLabelLength: Int32
  • The maximum length of a value used with session attributes

    Declaration

    Objective-C

    static const NSInteger HSBeaconMaxSessionValueLength = 10000

    Swift

    let HSBeaconMaxSessionValueLength: Int32
  • The maximum length of the compamy value on HSBeaconUser

    Declaration

    Objective-C

    static const NSInteger HSBeaconMaxUserCompanyLength = 60

    Swift

    let HSBeaconMaxUserCompanyLength: Int32
  • The maximum length of the jobTitle value on HSBeaconUser

    Declaration

    Objective-C

    static const NSInteger HSBeaconMaxUserJobTitleLength = 60

    Swift

    let HSBeaconMaxUserJobTitleLength: Int32
  • The maximum length of the avatar value on HSBeaconUser

    Declaration

    Objective-C

    static const NSInteger HSBeaconMaxUserAvatarLength = 200

    Swift

    let HSBeaconMaxUserAvatarLength: Int32
  • The total number of attributes accepted.

    Declaration

    Objective-C

    extern const NSUInteger HSBeaconMaximumUserAttributes

    Swift

    let HSBeaconMaximumUserAttributes: UInt