BKUser
public class BKUser
Bilibili user identified by mid/uid/whatever id.
-
Member id.
Declaration
Swift
public let mid: Int -
Initialize a user with its id.
Declaration
Swift
public init(id mid: Int) -
Undocumented
Declaration
Swift
public class var current: BKUser? { get } -
Undocumented
Declaration
Swift
public var up: BKUpUser { get } -
Undocumented
See moreDeclaration
Swift
public struct AudioStat : Codable -
Complete public user info.
See moreDeclaration
Swift
public struct Info : Codable
-
Fetchs and passes this user’s basic info to
handler.Declaration
Swift
public func getBasicInfo(then handler: @escaping BKHandler<Info.Basic>)Parameters
handlercode to process an optional
Info.Basic. -
Undocumented
See moreDeclaration
Swift
public struct Relationship : Codable -
Fetchs and passes this up’s stat to
handler.Declaration
Swift
public func getRelationship(session: BKSession = .shared, then handler: @escaping BKHandler<Relationship>)Parameters
handlercode to process an optional
Relationship.
View on GitHub
Install in Dash
BKUser Class Reference