Enumerations

The following enumerations are available globally.

  • The set of available activity status types.

    case online
    case seenRecently
    case offline
    
    See more

    Declaration

    Swift

    public enum ActivityStatus : String, Codable
  • List of available explore category size types.

    See more

    Declaration

    Swift

    public enum ExploreCategorySize : String, Codable
  • List of available explore category type types.

    See more

    Declaration

    Swift

    public enum ExploreCategoryType : String, Codable
  • The set of available favorite status types.

    case unfavorite = -1
    case disabled = 0
    case favorite = 1
    
    See more

    Declaration

    Swift

    public enum FavoriteStatus : Int, Codable
  • The set of available follow status types.

    case unfollow = -1
    case disabled = 0
    case follow = 1
    
    See more

    Declaration

    Swift

    public enum FollowStatus : Int, Codable
  • The set of available enums for managing the user’s library.

    KKLibrary offers:

    • Kind enum for managing a specific user library.
    • Status enum for managing an item’s status as well as populate a library view.
    • SortType enum for managing the way items are sorted.
      • This in turn offers the Options enum for managing the sorting order.
    See more

    Declaration

    Swift

    public enum KKLibrary
  • The list of available search scopes.

    • kurozora: searches in the Kurozora catalog.
    • library: searches in the user’s library.

    • Tag: KKSearchScope

    See more

    Declaration

    Swift

    public enum KKSearchScope : Int, CaseIterable
  • The list of available search types.

    • characters: the fetched resource should be of the characters type.
    • episodes: the fetched resource should be of the episodes type.
    • games: the fetched resource should be of the games type.
    • literatures: the fetched resource should be of the literatures type.
    • people: the fetched resource should be of the people type.
    • shows: the fetched resource should be of the shows type.
    • songs: the fetched resource should be of the songs type.
    • studios: the fetched resource should be of the studios type.
    • users: the fetched resource should be of the users type.

    • Tag: KKSearchType

    See more

    Declaration

    Swift

    public enum KKSearchType : String
  • The set of available OAuth action types.

    See more

    Declaration

    Swift

    public enum OAuthAction : String, Codable
  • The set of available read status types.

    case unread = 0
    case read = 1
    
    See more

    Declaration

    Swift

    public enum ReadStatus : Int, Codable
  • The set of available reminder status types.

    case notReminded = -1
    case disabled = 0
    case reminded = 1
    
    See more

    Declaration

    Swift

    public enum ReminderStatus : Int, Codable
  • List of available song types.

    • Tag: SongType
    See more

    Declaration

    Swift

    public enum SongType : Int, CaseIterable, Codable
  • The set of available user notification types.

    • session: the notification has a session type and thus has the sessions style.
    • follower: the notification has a follower type and thus has the follower style.
    • feedMessageReply: the notification has a feedMessageReply type and thus has the message style.
    • feedMessageReShare: the notification has a feedMessageReShare type and thus has the message style.
    • libraryImportFinished: the notification has a libraryImportFinished type and thus thas the import style.
    • subscriptionStatus: the notification has a subscriptionStatus type and thus the subscription style.
    • other: the notification has no specific type and thus has the default style.

    • Tag: UserNotificationType

    See more

    Declaration

    Swift

    public enum UserNotificationType : String, Codable
  • The set of available users list types.

    • followers: the list is of the followers type.
    • following: the list is of the following type.

    • Tag: UsersListType

    See more

    Declaration

    Swift

    public enum UsersListType : String
  • The set of available watch status types.

    case notWatched = -1
    case disabled = 0
    case watched = 1
    
    See more

    Declaration

    Swift

    public enum WatchStatus : Int, Codable
  • The namespace that contains the Kurozora API endpoints.

    See more

    Declaration

    Swift

    internal enum KKEndpoint