Resource Base
Table of contents

DSCoreModule

The DSCoreModule class defines common functionality in the Core module.

Definition

Assembly: DynamsoftCore.xcframework

  • Objective-C
  • Swift
  1. @interface DSCoreModule : NSObject
    
  2. 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
  1. + (NSString *)getVersion;
    
  2. class func getVersion() -> String
    

Return Value

The version of the DynamsoftCore module.

Code Snippet

  • Objective-C
  • Swift
  1. NSString *version = [DSCoreModule getVersion];
    
  2. let version = CoreModule.getVersion()
    

enableLogging

Enable the output of logs.

  • Objective-C
  • Swift
  1. +(BOOL)enableLogging:(NSInteger)logMode;
    
  2. class func enableLogging(_ logMode:Int)
    

Parameters

logMode: One of the EnumLogMode value.

disableLogging

Disable the output of logs.

  • Objective-C
  • Swift
  1. +(void)disableLogging;
    
  2. class func disableLogging()
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    Change +