Before calling the SDK APIs, you need to configure the license by following steps below
[AppDelegate application:didFinishLaunchingWithOptions:]
: [TXLiveBase setLicenceURL:LicenceUrl key:Key];
TXLiveBase.getInstance().setLicence(context, LicenceUrl, Key);
After the license is successfully configured, you can call the below commands to view the license information. Please note that it may take awhile for the configuration to be completed.
NSLog(@"%@", [TXLiveBase getLicenceInfo]);
TXLiveBase.getInstance().getLicenceInfo();
Was this page helpful?