DefaultBluetoothAgent
class DefaultBluetoothAgent( messageSender: MessageSender, contextManager: ContextManagerInterface, focusManager: FocusManagerInterface, focusChannelName: String, bluetoothProvider: BluetoothProvider?, focusChangeHandler: DefaultBluetoothAgent.OnFocusChangeHandler?) : AbstractCapabilityAgent, BluetoothAgentInterface
Content copied to clipboard
Constructors
Link copied to clipboard
fun DefaultBluetoothAgent( messageSender: MessageSender, contextManager: ContextManagerInterface, focusManager: FocusManagerInterface, focusChannelName: String, bluetoothProvider: BluetoothProvider?, focusChangeHandler: DefaultBluetoothAgent.OnFocusChangeHandler?)
Content copied to clipboard
Types
Link copied to clipboard
Link copied to clipboard
data class StateContext(val hostController: BluetoothHost?, val activeDevice: BluetoothDevice?) : BaseContextState
Content copied to clipboard
Link copied to clipboard
class StreamingChangeHandler( focusManager: FocusManagerInterface, focusChannelName: String, executor: ExecutorService, focusChangeHandler: DefaultBluetoothAgent.OnFocusChangeHandler) : BluetoothProvider.OnStreamStateChangeListener, ChannelObserver
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun preHandleDirective(directive: Directive, result: DirectiveHandlerResult)
Content copied to clipboard
Link copied to clipboard
open override fun provideState( contextSetter: ContextSetterInterface, namespaceAndName: NamespaceAndName, contextType: ContextType, stateRequestToken: Int)
Content copied to clipboard
Link copied to clipboard
open override fun sendBluetoothEvent(event: BluetoothAgentInterface.BluetoothEvent): Boolean
Content copied to clipboard
Send a local Bluetooth event to the server (DeviceGateway).
Link copied to clipboard
open override fun setListener(listener: BluetoothAgentInterface.Listener)
Content copied to clipboard
Set a listener