Initialization Methods
You are viewing a history document page of DCE v1.0.3.
Method | Description |
---|---|
initLicenseFromDLS |
Initialize the Camera Enhancer from the license server with a license. |
initLicenseFromDLS
Initialize the Camera Enhancer with a license.
- (instancetype)initLicenseFromDLS:(iDCEDLSConnectionParameters*)parameters
view:(DCECaptureView *)view
verificationDelegate:(id)connectionDelegate;
Parameters
iDCEDLSConnectionParameters
: The class DMDLSConnectionParameters
parameters.
view
: The DCECaptureView
.
Code Snippet
- Objective-C
- Swift
_decView = [DCECaptureView cameraWithFrame:self.view.bounds]; iDCEDLSConnectionParameters* dls = [[iDCEDLSConnectionParameters alloc] init]; dls.organizationID = @"200001"; _dce = [[DynamsoftCameraEnhancer alloc] initLicenseFromDLS:dls view:_dceView verificationDelegate:self];
dceView = DCECaptureView.init(view: self.view.bounds) let dls = iDCEDLSConnectionParameters() dls.organizationID = "200001" dce = DynamsoftCameraEnhancer.init(licenseFromDLS: dls, view: dceView, verificationDelegate: self)