SendbirdLive
public class SendbirdLive
A singleton class that serves as the basis for all functionalities in Sendbird Live. This class can be initialized with an application ID and provides methods to authenticate, create, and retrieve a live event object.
Since
1.0.0-
Sendbird Live SDK Version
Since
1.0.0Declaration
Swift
public static var version: String
-
The app id of your Sendbird application.
Since
1.0.0Declaration
Swift
public static var applicationId: String { get }
-
Undocumented
Declaration
Swift
public static var currentUser: SendbirdChatSDK.User? { get }
-
Initializes Sendbird Live SDK with the app ID of a Sendbird application.
Since
1.0.0Declaration
Swift
public class func initialize(applicationId: String)
-
Authenticates a user with the user ID and access token to connect to Sendbird server.
Since
1.0.0Declaration
Swift
public class func authenticate(userId: String, accessToken: String? = nil, completionHandler: @escaping UserHandler)
-
Deauthenticates a user to disconnect from Sendbird server.
Since
1.0.0Declaration
Swift
public class func deauthenticate(completionHandler: @escaping VoidHandler)
-
Creates a live event.
Since
1.0.0Declaration
Swift
public class func createLiveEvent( config: LiveEvent.CreateParams, completionHandler: @escaping LiveEventHandler )
-
Specifies the queue that you want to use for callbacks and delegate methods.
Since
1.0.0Declaration
Swift
public class func executeOn(_ queue: DispatchQueue)
-
Returns a live event by its URL.
Since
1.0.0Declaration
Swift
public class func getLiveEvent( id: String, completionHandler: @escaping LiveEventHandler )
-
Undocumented
Declaration
Swift
public class func getCachedLiveEvent(id: String) -> LiveEvent?
-
Creates a query for a list of all live events. A list of live events in a specific state can be queried by specifying a state in
LiveEventListQueryParams
.Since
1.0.0Declaration
Swift
public class func createLiveEventListQuery(params: LiveEventListQueryParams) -> LiveEventListQuery
-
Undocumented
Declaration
Swift
public class func setLogLevel(_ level: LogLevel)