Index

Properties

Methods

Properties

public bitsPerSecond: number

public deviceId: string

public maxMessageBytes: number

public ondevicearrived: any

public ondevicedeparted: any

Methods

public static fromId(deviceInterfaceId: string): ProximityDevice

Parameters

  • deviceInterfaceId: string

Returns

ProximityDevice

public static getDefault(): ProximityDevice

Returns

ProximityDevice

public static getDeviceSelector(): string

Returns

string

public publishBinaryMessage(messageType: string, message: IBuffer): number

Parameters

  • messageType: string
  • message: IBuffer

Returns

number

public publishBinaryMessage(messageType: string, message: IBuffer, messageTransmittedHandler: MessageTransmittedHandler): number

Parameters

Returns

number

public publishMessage(messageType: string, message: string): number

Parameters

  • messageType: string
  • message: string

Returns

number

public publishMessage(messageType: string, message: string, messageTransmittedHandler: MessageTransmittedHandler): number

Parameters

Returns

number

public publishUriMessage(message: Uri): number

Parameters

Returns

number

public publishUriMessage(message: Uri, messageTransmittedHandler: MessageTransmittedHandler): number

Parameters

Returns

number

public stopPublishingMessage(messageId: number)

Parameters

  • messageId: number

public stopSubscribingForMessage(subscriptionId: number)

Parameters

  • subscriptionId: number

public subscribeForMessage(messageType: string, messageReceivedHandler: MessageReceivedHandler): number

Parameters

Returns

number