DSCoreModule
The DSCoreModule class defines common functionality in the Core module.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSCoreModule : NSObjectclass 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
+(void)enableLogging:(DSLogMode)mode;class func enableLogging(_ mode:Int)
Parameters
logMode: One of the EnumLogMode value.
disableLogging
Disable the output of logs.
- Objective-C
- Swift
+(void)disableLogging;class func disableLogging()