Gjsify LogoGjsify Logo

Index

Variables

CHOOSER_COMBO_FIRST_DEVICE: string

A convenience value used to select the first device regardless of its address.

TYPE_AUDIO: number

Use this value to select any Bluetooth audio device where a #BluetoothType enum is required.

TYPE_INPUT: number

Use this value to select any Bluetooth input device where a #BluetoothType enum is required.

UUID_A2DP: number
UUID_A2DP_SINK: number
UUID_A2DP_SOURCE: number
UUID_AVRCP_CONTROL: number
UUID_AVRCP_TARGET: number
UUID_DUN: number
UUID_FTP: number
UUID_GENERIC_AUDIO: number
UUID_GENERIC_NET: number
UUID_HFP_AG: number
UUID_HFP_HF: number
UUID_HID: number
UUID_HSP: number
UUID_HSP_AG: number
UUID_IRMC: number
UUID_OPP: number
UUID_PAN_GN: number
UUID_PAN_NAP: number
UUID_PAN_PANU: number
UUID_PBAP: number
UUID_PNP: number
UUID_SAP: number
UUID_SDP: number
UUID_SPP: number
UUID_VDP_SOURCE: number

Functions

  • sendToAddress(address: string, alias: string): void
  • Start a GUI application for transfering files over Bluetooth.

    Parameters

    • address: string

      Remote device to use

    • alias: string

      Remote device's name

    Returns void

  • typeToString(type: number): string
  • Returns a human-readable string representation of type usable for display to users. Do not free the return value. The returned string is already translated with gettext().

    Parameters

    • type: number

      a #BluetoothType

    Returns string

  • uuidToString(uuid: string): string
  • Returns a string representing a human-readable (but not usable for display to users) version of the uuid. Do not free the return value.

    Parameters

    • uuid: string

      a string representing a Bluetooth UUID

    Returns string

  • verifyAddress(bdaddr: string): boolean
  • Returns whether the string is a valid Bluetooth address. This does not contact the device in any way.

    Parameters

    • bdaddr: string

      a string representing a Bluetooth address

    Returns boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method