Skip to content

Latest commit

 

History

History
183 lines (111 loc) · 3.66 KB

auxiliary-iDMDLSConnectionParameters-v8.4.0.md

File metadata and controls

183 lines (111 loc) · 3.66 KB
layout title description keywords needAutoGenerateSidebar noTitleIndex pageStartVer permalink
default-layout
iDMLTSConnectionParameters Class - Dynamsoft Barcode Reader iOS API Reference
This page shows the iDMLTSConnectionParameters Class of Dynamsoft Barcode Reader for iOS SDK.
iDMLTSConnectionParameters, class, api reference, objective-c, oc, swift
true
true
8.2
/programming/objectivec-swift/api-reference/auxiliary-iDMDLSConnectionParameters-v8.4.0.html

Class iDMLTSConnectionParameters

Defines a struct to configure the parameters to connect to the license server.

@interface iDMLTSConnectionParameters
Attribute Type Descriptions
mainServerURL NSString* The URL of the license tracking server.
standbyServerURL NSString* The URL of the standby license tracking server.
handshakeCode NSString* The handshake code.
sessionPassword NSString* The session password of the handshake code set in license tracking server.
chargeWay EnumDMChargeWay Sets the charge way.
UUIDGenerationMethod EnumDMUUIDGenerationMethod Sets the method to generate UUID.
maxBufferDays NSInteger Sets the max days to buffer the license info.
limitedLicenseModules NSArray* Sets the license modules to use.
organizationID NSString* The organization ID got from Dynamsoft.

mainServerURL

The URL of the license tracking server.

NSString* mainServerURL

Value Range

Any string value

Default Value

nil

Remarks

If you choose "Dynamsoft-hosting", then no need to change the value of MainServerURL and StandbyServerURL. When both are set to nil (default value), it will connect to Dynamsoft's license tracking servers for online verification.

standbyServerURL

The URL of the standby license tracking server.

NSString* standbyServerURL

Value Range

Any string value

Default Value

nil

Remarks

If you choose "Dynamsoft-hosting", then no need to change the value of MainServerURL and StandbyServerURL. When both are set to nil (default value), it will connect to Dynamsoft's license tracking servers for online verification.

handshakeCode

The handshake code.

NSString* handshakeCode

Value Range

Any string value

Default Value

nil

sessionPassword

The session password of the handshake code set in license tracking server.

NSString* sessionPassword

Value Range

Any string value

Default Value

nil

chargeWay

Sets the charge way.

EnumDMChargeWay chargeWay

Value Range

Any one of the EnumDMChargeWay enumeration items.

Default Value

EnumDMChargeWayAuto

UUIDGenerationMethod

Sets the method to generate UUID.

EnumDMUUIDGenerationMethod UUIDGenerationMethod

Value Range

Any one of the EnumDMUUIDGenerationMethod enumeration items.

Default Value

EnumDMUUIDGenerationMethodRandom

maxBufferDays

Sets the max days to buffer the license info.

NSInteger maxBufferDays

Value Range

[7,0x7fffffff]

Default Value

7

limitedLicenseModules

Sets the license modules to use.

NSArray* limitedLicenseModules

Value Range

Each array item can be any one of the EnumDMLicenseModule enumeration items.

Default Value

nil

organizationID

The organization ID got from Dynamsoft.

NSString* organizationID

Value Range

Any string value

Default Value

""