Enumerations
The following enumerations are available globally.
-
Declaration
Swift
public enum ActivityStatus : String, Codable
-
List of available explore category size types.
See moreDeclaration
Swift
public enum ExploreCategorySize : String, Codable
-
List of available explore category type types.
See moreDeclaration
Swift
public enum ExploreCategoryType : String, Codable
-
The set of available favorite status types.
See morecase unfavorite = -1 case disabled = 0 case favorite = 1
Declaration
Swift
public enum FavoriteStatus : Int, Codable
-
The set of available follow status types.
See morecase unfollow = -1 case disabled = 0 case follow = 1
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.
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
Declaration
Swift
public enum KKSearchScope : Int, CaseIterable
-
The list of available search types.
characters
: the fetched resource should be of thecharacters
type.episodes
: the fetched resource should be of theepisodes
type.games
: the fetched resource should be of thegames
type.literatures
: the fetched resource should be of theliteratures
type.people
: the fetched resource should be of thepeople
type.shows
: the fetched resource should be of theshows
type.songs
: the fetched resource should be of thesongs
type.studios
: the fetched resource should be of thestudios
type.users
: the fetched resource should be of theusers
type.Tag: KKSearchType
Declaration
Swift
public enum KKSearchType : String
-
The set of available OAuth action types.
See moreDeclaration
Swift
public enum OAuthAction : String, Codable
-
Declaration
Swift
public enum ReadStatus : Int, Codable
-
The set of available reminder status types.
See morecase notReminded = -1 case disabled = 0 case reminded = 1
Declaration
Swift
public enum ReminderStatus : Int, Codable
-
Declaration
Swift
public enum SongType : Int, CaseIterable, Codable
-
The set of available user notification types.
session
: the notification has asession
type and thus has the sessions style.follower
: the notification has afollower
type and thus has the follower style.feedMessageReply
: the notification has afeedMessageReply
type and thus has the message style.feedMessageReShare
: the notification has afeedMessageReShare
type and thus has the message style.libraryImportFinished
: the notification has alibraryImportFinished
type and thus thas the import style.subscriptionStatus
: the notification has asubscriptionStatus
type and thus the subscription style.other
: the notification has no specific type and thus has the default style.Tag: UserNotificationType
Declaration
Swift
public enum UserNotificationType : String, Codable
-
The set of available users list types.
followers
: the list is of thefollowers
type.following
: the list is of thefollowing
type.Tag: UsersListType
Declaration
Swift
public enum UsersListType : String
-
The set of available watch status types.
See morecase notWatched = -1 case disabled = 0 case watched = 1
Declaration
Swift
public enum WatchStatus : Int, Codable
-
The namespace that contains the Kurozora API endpoints.
See moreDeclaration
Swift
internal enum KKEndpoint