Options
All
  • Public
  • Public/Protected
  • All
Menu

It represents a Bluetooth printer which can be reached from the client machine.

Hierarchy

  • BluetoothPrinter

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

  • Creates an instance of the BluetoothPrinter class with the specified address and channel number.

    Parameters

    • address: string

      The address assigned to the printer.

    • channel: number

      The channel number assigned to the printer.

    Returns BluetoothPrinter

Properties

Id: number = 6

The Client Printer ID

Accessors

  • get address(): string
  • set address(value: string): void
  • Gets or sets the Bluetooth address assigned to the printer. Default value is null (Nothing)

    Returns string

  • Gets or sets the Bluetooth address assigned to the printer. Default value is null (Nothing)

    Parameters

    • value: string

    Returns void

  • get channel(): number
  • set channel(value: number): void
  • Gets or sets the RFCOMM channel assigned to the printer. Default value is 0

    Returns number

  • Gets or sets the RFCOMM channel assigned to the printer. Default value is 0

    Parameters

    • value: number

    Returns void

Methods

  • serialize(): string
  • The Client Printer serialization.

    Returns string