Model Enums

  • The different difficulty levels a game can be.

    See more

    Declaration

    Objective-C

    enum GameDifficultyLevel {}

    Swift

    enum GameDifficultyLevel : Int
  • GameMode is the current mode of the User playing the game.

    See more

    Declaration

    Objective-C

    enum GameMode {}

    Swift

    enum GameMode : Int
  • Types of games supported by the client.

    See more

    Declaration

    Objective-C

    enum GameType {}

    Swift

    enum GameType : Int
  • PaymentInfoErrorSource specifies the source that caused the error.

    See more

    Declaration

    Objective-C

    enum PaymentInfoErrorSource {}

    Swift

    enum PaymentInfoErrorSource : UInt
  • PaymentInfoErrorState specifies the state of the error if there is one.

    See more

    Declaration

    Objective-C

    enum PaymentInfoErrorState {}

    Swift

    enum PaymentInfoErrorState : UInt
  • PaymentInfoState specifies the state of PaymentInfo

    See more

    Declaration

    Objective-C

    enum PaymentInfoState {}

    Swift

    enum PaymentInfoState : UInt
  • Different supported payment merchant info types.

    See more

    Declaration

    Objective-C

    enum PaymentMerchantInfoType {}

    Swift

    enum PaymentMerchantInfoType : Int
  • The different personalization types supported by the VoucherCreationViewController.

    See more

    Declaration

    Objective-C

    enum PersonalizationType {}

    Swift

    enum PersonalizationType : UInt
  • VouchrErrorCode is a list of internal error codes that can be returned inside of a VoucherError.

    See more

    Declaration

    Objective-C

    enum VouchrErrorCode {}

    Swift

    enum VouchrErrorCode : Int
  • Different supported phone number formats. See each for an example formatting.

    See more

    Declaration

    Objective-C

    enum VouchrPhoneNumberFormat {}

    Swift

    enum VouchrPhoneNumberFormat : Int