BluetoothAgentInterface

interface BluetoothAgentInterface

Interface for Bluetooth Capability Agent

Types

Link copied to clipboard
enum AVRCPCommand : Enum<BluetoothAgentInterface.AVRCPCommand>

An enum representing AVRCP commands.

Link copied to clipboard
sealed class BluetoothEvent

The Bluetooth events.

Link copied to clipboard
data class DiscoverableStartResult(val success: Boolean, val hasPairedDevices: Boolean)
Link copied to clipboard
interface Listener

Interface of a listener to be called when there has been an directive of bluetooth from the server.

Link copied to clipboard
enum State : Enum<BluetoothAgentInterface.State>

The enum State describes the state of the bluetooth (on,off).

Link copied to clipboard
enum StreamingState : Enum<BluetoothAgentInterface.StreamingState>

An enum representing the current state of the stream.

Functions

Link copied to clipboard
abstract fun sendBluetoothEvent(event: BluetoothAgentInterface.BluetoothEvent): Boolean

Send a local Bluetooth event to the server (DeviceGateway).

Link copied to clipboard
abstract fun setListener(listener: BluetoothAgentInterface.Listener)

Set a listener

Inheritors

Link copied to clipboard