DSCoreModule
The DSCoreModule
class defines common functionality in the Core module.
Definition
Assembly: DynamsoftCore.xcframework
- Objective-C
- Swift
@interface DSCoreModule : NSObject
class CoreModule : NSObject
Methods
Method | Description |
---|---|
getVersion |
Get the version of the DynamsoftCore module. |
enableLogging |
Enable the output of logs. |
disableLogging |
Disable the output of logs. |
getVersion
Get the version of the DynamsoftCore
module.
- Objective-C
- Swift
+ (NSString *)getVersion;
class func getVersion() -> String
Return Value
The version of the DynamsoftCore
module.
Code Snippet
- Objective-C
- Swift
NSString *version = [DSCoreModule getVersion];
let version = CoreModule.getVersion()
enableLogging
Enable the output of logs.
- Objective-C
- Swift
+(BOOL)enableLogging:(NSInteger)logMode;
class func enableLogging(_ logMode:Int)
Parameters
logMode
: One of the EnumLogMode
value.
disableLogging
Disable the output of logs.
- Objective-C
- Swift
+(void)disableLogging;
class func disableLogging()