AliyunVideoSDKInfo
@interface AliyunVideoSDKInfo : NSObject
* A class that defines basic SDK settings.
-
Gets the SDK version.
Declaration
Objective-C
+ (NSString *)version;Return Value
The SDK version.
-
Undocumented
Declaration
Objective-C
+ (NSString *)module; -
* Gets the SDK version code.
Declaration
Objective-C
+ (int)versionCode;Return Value
The SDK version code.
-
* Gets the alivc commit id.
Declaration
Objective-C
+ (NSString *)alivcCommitId;Return Value
The alivc commit id.
-
* Gets the mediacore commit id.
Declaration
Objective-C
+ (NSString *)mediaCoreCommitId;Return Value
The mediacore commit id.
-
* Gets the video SDK commit id.
Declaration
Objective-C
+ (NSString *)videoSDKCommitId;Return Value
The video SDK commit id.
-
* Gets the build id.
Declaration
Objective-C
+ (NSString *)videoSDKBuildId;Return Value
The build id.
-
* Prints the SDK version.
Declaration
Objective-C
+ (void)printSDKInfo; -
* Registers the SDK.
please set AlivcLicenseKey and AlivcLicenseFile into Info.plist of project
- Set your LicenseKey for AlivcLicenseKey
- Set your path(relatively mainBundle) of LicenseFile for AlivcLicenseFile; eg: you put your LicenseFile that name “license.crt” in mainBundle, so you need set “license.crt” for AlivcLicenseFile
Please reference the document: https://help.aliyun.com/document_detail/415400.html for get your LicenseKey and LicenseFile
Declaration
Objective-C
+ (NSError *)registerSDK; -
* Gets the log level.
Declaration
Objective-C
+ (AlivcLogLevel)logLevel;Return Value
AlivcLogLevel.
-
* Sets the log level.
Declaration
Objective-C
+ (void)setLogLevel:(AlivcLogLevel)level;Parameters
levelThe log level. Default is AlivcLogError. Logs are generated when errors occur. It is recommended to set the log level to AlivcLogVerbose or AlivcLogDebug during debugging.
-
* The path of log dir
Declaration
Objective-C
+ (NSString *)logPath; -
* set the path of sdk bundle
Declaration
Objective-C
+ (void)setSDKBundlePath:(NSString *)bundlePath; -
* The path of sdk bundle
Declaration
Objective-C
+ (NSString *)sdkBundlePath; -
* Sets the user id. The user id is used for troubleshooting issues reported by users.
Declaration
Objective-C
+ (void)setUserId:(NSString *)userId;Parameters
userIdThe user id.
-
* Gets the user id.
Declaration
Objective-C
+ (NSString *)userId;Return Value
The user id.
-
* Sets whether to upload device information.
Declaration
Objective-C
+ (void)setDeviceInfoUpload:(BOOL)conanUpload;Parameters
conanUploadWhether to upload device information.
-
* Gets whether to upload device information.
Declaration
Objective-C
+ (BOOL)deviceInfoUpload;Return Value
Whether to upload device information.
-
Deprecated
please use setLogLevel:
Undocumented
Declaration
Objective-C
+ (void)setDebugLogLevel:(AlivcDebugLogLevel)level __deprecated_msg("please use setLogLevel:");
AliyunVideoSDKInfo Class Reference