BadgeSecurityRestriction

@objc
public enum BadgeSecurityRestriction : Int

Badge Security Restrictions.

  • No restriction. Badge is ready to be used.

    Declaration

    Swift

    case none
  • Badge requires login.

    Declaration

    Swift

    case login
  • Badge is revoked.

    Declaration

    Swift

    case revoked
  • Badge requires acceptance of the Terms of Use or Privacy Policy.

    Declaration

    Swift

    case userAgreement
  • Badge requires multi-factor enrollment (through mobile phone number verification).

    Declaration

    Swift

    case mfaEnrollment
  • Badge requires touch ID or passcode authentication.

    Declaration

    Swift

    case touchIDPasscode
  • Badge is restricted due to geo fence.

    Declaration

    Swift

    case geoFence
  • Badge is restricted due to time fence.

    Declaration

    Swift

    case timeOfDay
  • Badge requires access the device location while the application is in use.

    Declaration

    Swift

    case locationAuthorizationWhenInUse
  • Badge requires access the device location always (i.e. even when the app is in the background).

    Declaration

    Swift

    case locationAuthorizationAlways
  • Badge requires Bluetooth to be turned on.

    Declaration

    Swift

    case bluetooth
  • Badge requires a user’s photo to the uploaded.

    Declaration

    Swift

    case userPhoto
  • The description text for the restriction. The text is localized and can be used in the user interface.

    Declaration

    Swift

    public var description: String { get }
  • the info text of the restriction.

    Declaration

    Swift

    public var info: String { get }