@@ -34,11 +34,11 @@ The following code snippets are using the public trial license to initialize the
34
34
>
35
35
> 1 .
36
36
``` javascript
37
- Dynamsoft .DLR . LabelRecognizer . license = " DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwNSJ9 " ;
37
+ Dynamsoft .License . LicenseManager . initLicense ( " YOUR-LICENSE-KEY " ) ;
38
38
```
39
39
2 .
40
40
``` java
41
- LabelRecognizer . initLicense(" DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9 " , new DLRLicenseVerificationListener () {
41
+ LabelRecognizer . initLicense(" YOUR-LICENSE-KEY " , new DLRLicenseVerificationListener () {
42
42
@Override
43
43
public void DLRLicenseVerificationCallback (boolean b , Exception e ) {
44
44
if (! b && e != null ){
@@ -49,7 +49,7 @@ LabelRecognizer.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", new DLRL
49
49
```
50
50
3 .
51
51
``` objc
52
- [DynamsoftLabelRecognizer initLicense: @"DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9 " verificationDelegate: self ] ;
52
+ [DynamsoftLabelRecognizer initLicense: @"YOUR-LICENSE-KEY " verificationDelegate: self ] ;
53
53
- (void)DLRLicenseVerificationCallback:(bool)isSuccess error:(NSError * )error{
54
54
if(!isSuccess && error != nil){
55
55
NSString* msg = error.userInfo[ NSUnderlyingErrorKey] ;
@@ -59,7 +59,7 @@ LabelRecognizer.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", new DLRL
59
59
```
60
60
4.
61
61
```swift
62
- DynamsoftLabelRecognizer.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9 ",verificationDelegate:self)
62
+ DynamsoftLabelRecognizer.initLicense("YOUR-LICENSE-KEY ",verificationDelegate:self)
63
63
func dlrLicenseVerificationCallback(_ isSuccess: Bool, error: Error?) {
64
64
if(!isSuccess && error != nil){
65
65
let err = error as NSError?
@@ -71,19 +71,19 @@ func dlrLicenseVerificationCallback(_ isSuccess: Bool, error: Error?) {
71
71
5 .
72
72
``` c
73
73
char errorMessage[256 ];
74
- DLR_InitLicense ("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwNSJ9 ", errorMessage, 256);
74
+ DLR_InitLicense ("YOUR-LICENSE-KEY ", errorMessage, 256);
75
75
```
76
76
6.
77
77
```cpp
78
78
char errorMessage[256];
79
- CLabelRecognizer::InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwNSJ9 ", errorMessage, 256);
79
+ CLabelRecognizer::InitLicense("YOUR-LICENSE-KEY ", errorMessage, 256);
80
80
```
81
81
7 .
82
82
``` csharp
83
- LabelRecognizer .InitLicense (" DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwNSJ9 " );
83
+ LabelRecognizer .InitLicense (" YOUR-LICENSE-KEY " );
84
84
```
85
85
8 .
86
86
``` java
87
- LabelRecognizer . initLicense(" DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwNSJ9 " );
87
+ LabelRecognizer . initLicense(" YOUR-LICENSE-KEY " );
88
88
```
89
89
0 commit comments