Skip to content

Licensing: events ​

Complete reference. The signature is a listener argument tuple, not a wrapper object.

licensing:wrong-cmd ​

The device rejected a command format; opcodeName identifies the command.

ts
type Arguments = [
    data: {
      opcodeName: string;
      opcode: number;
      params: string[];
    }
  ];
ts
jsd.on('licensing:wrong-cmd', payload => console.log(payload));

licensing:feature-status ​

Whether a requested licensed feature is active.

ts
type Arguments = [
    data: {
      feature: string;
      active: boolean;
    }
  ];
ts
jsd.on('licensing:feature-status', payload => console.log(payload));

licensing:seed ​

License seed in text, hexadecimal, Base64, and byte representations.

ts
type Arguments = [
    data: {
      seed: string;
      hex: string;
      base64: string;
      bytes: Uint8Array;
    }
  ];
ts
jsd.on('licensing:seed', payload => console.log(payload));

licensing:temporary-license-status ​

Temporary/permanent license state with remaining and expired days.

ts
type Arguments = [
    data: {
      status: string;
      remainingDays: number;
      daysSinceExpiration: number;
      isPermanent: boolean;
      active: boolean;
      expired: boolean;
    }
  ];
ts
jsd.on('licensing:temporary-license-status', payload => console.log(payload));

licensing:report ​

License activation report with success state and reason.

ts
type Arguments = [
    data: {
      isSuccess: boolean;
      status: 'failure' | 'success';
      reason: string;
    }
  ];
ts
jsd.on('licensing:report', payload => console.log(payload));

licensing:identification ​

Device identification fields returned by this application.

ts
type Arguments = [data: { idJSuite: string; uid: string }];
ts
jsd.on('licensing:identification', payload => console.log(payload));

Aliases used in these signatures are defined in reference types.

Explicit protocol, typed events, isolated transport.