Resource Base
Table of contents

License initialization

Get a trial key

  • A 7-day public trial key is available for every new device for first use of Dynamsoft Camera Enhancer.
  • If your free key is expired, please visit Private Trial License Page to get a 30-day trial extension.

Get a full license

Set up the license

Once you have a license, you can use following code to set up your license:

For Android users:

Android sample


    mCamera.initLicense("", new DCELicenseVerificationListener() {
        public void DCELicenseVerificationCallback(boolean b, Exception e) {
            if(!b && e != null){


    mCameraEnhancer!!.initLicense("") { isSuccess, error ->
        if (!isSuccess) {

For iOS users:

Objective-C sample

    [DynamsoftCameraEnhancer initLicense:@"DCE2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSIsInByb2R1Y3RzIjoyfQ==" verificationDelegate:self];

    - (void)DCELicenseVerificationCallback:(bool)isSuccess error:(NSError *)error{
        NSLog(@"Verification: %@",error.userInfo);

Swift sample


    func DCELicenseVerificationCallback(_ isSuccess: Bool, error: Error?) {
        print("Verification: \(String(describing: error))")

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 1.0.3
  • Version 1.0.1
  • Version 1.0.0
Change +
© 2003–2021 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support