Home Reference Source Test Repository
public class | source

Result

Direct Subclass:

EventResult, ResponseResult

Generic response or event from Nextion device.

Example:

const result = new Result(0x01); // success

Constructor Summary

Public Constructor
public

Creates a Result.

Member Summary

Public Members
public

Decimal representation of instruction code.

public get

Hexadecimal representation of instruction code.

Public Constructors

public constructor(code: number) source

Creates a Result.

Params:

NameTypeAttributeDescription
code number

Decimal instruction code

Public Members

public code: number source

Decimal representation of instruction code.

public get hex: string source

Hexadecimal representation of instruction code.