OTVSDK

public class OTVSDK

The OTVSDK class initialises access to all OPYSDKFPS features.

  • Error notifications are posted as OTVError objects

    Declaration

    Swift

    public static let errorNotificationName: Notification.Name
  • Error notifications are posted as OTVError objects

    Declaration

    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

    licence

    Video.space valid licence content.

  • Set sdk logger output level.

    Declaration

    Swift

    public static func setLogging(level: OTVLogType = .warning)

    Parameters

    level

    the log level to be used.

  • Set the instance of a class conforming to IOTVLogProvider protocol.

    Declaration

    Swift

    public static func setLogProvider(xLogProvider: IOTVLogProvider)

    Parameters

    xLogProvider

    instance of IOTVLogProvider instance

  • Enumeration of the types of errors that may be reported by the SDK.

    See more

    Declaration

    Swift

    @objc
    public enum OTVError : Int