License
License class
Provides methods to license the component.
Constructors
Name | Description |
---|---|
constructor() | Initializes a new instance of this class. |
Methods
Method | Description |
---|---|
setLicense(string) | Licenses the component. |
setLicense(Uint8Array) | Licenses the component. |
constructor()
Initializes a new instance of this class.
constructor();
setLicense(string)
Licenses the component.
setLicense(licenseName: string) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
licenseName | string | The license file path. |
setLicense(Uint8Array) {setLicense-uint8array-}
Licenses the component.
setLicense(stream: Uint8Array): void;
Parameters:
Parameter | Type | Description |
---|---|---|
stream | Uint8Array | A stream that contains the license. |