Enumerations

The following enumerations are available globally.

  • The territory that KKBOX provides services.

    • taiwan: Taiwan
    • hongkong: Hong Kong
    • singapore: Singapore
    • malaysia: Malaysia
    • japan: Japan
    See more

    Declaration

    Swift

    public enum KKTerritory : String, Codable
  • The response of API calls

    • error: the API returns an error with an error object.
    • success: the API is successfully called and return an object.
    See more

    Declaration

    Swift

    public enum KKAPIResult<T>
  • Errors used in KKBOX Open API SDK.

    See more

    Declaration

    Swift

    public enum KKBOXOpenAPIError : Error, LocalizedError