DMSLicenseManager


@interface DMSLicenseManager : NSObject

The license manager provides a global place to provide DMSDK your API key. Setting the @link APIKey @/link property will make that API key available to all classes that normally expect a key. This includes classes like @link DMSResolver @/link and @link DMSVideoCaptureReader @/link.

  • The current global API key for DMSDK. Set this value to your API key. If an API key was provided as part of your application’s Info.plist, this will be pre-populated with that value.

    Declaration

    Objective-C

    @property (class, atomic, assign, unsafe_unretained, readwrite, nullable)
        NSString *APIKey;

    Swift

    class var APIKey: String? { get set }