OTVSDK
public class OTVSDK
The OTVSDK class initialises access to all OPYSDKFPS features.
-
Error notifications are posted as
OTVErrorobjectsDeclaration
Swift
public static let errorNotificationName: Notification.Name -
Error notifications are posted as
OTVErrorobjectsDeclaration
Swift
public static let sdkLoadedNotificationName: Notification.Name -
The SDK entry function.
Note
licence is deprecated. It will be removed in a future version.Declaration
Swift
public static func load(licence: String? = nil)Parameters
licenceVideo.space valid licence content.
-
Set sdk logger output level.
Declaration
Swift
public static func setLogging(level: OTVLogType = .warning)Parameters
levelthe log level to be used.
-
Set the instance of a class conforming to IOTVLogProvider protocol.
Declaration
Swift
public static func setLogProvider(xLogProvider: IOTVLogProvider)Parameters
xLogProviderinstance of IOTVLogProvider instance
-
Enumeration of the types of errors that may be reported by the SDK.
See moreDeclaration
Swift
@objc public enum OTVError : Int