STWAuto Support Devices Api
Functions
Link copied to clipboard
Call this methode to get the hardware configuration of the device in JSON format
Link copied to clipboard
Call this methode to get device configuration from HTTP and send the event of receive of configuration DeviceAutoSupportEventType.DEVICE_CONFIGURATION_RECEIVED
Link copied to clipboard
Call this methode to get the Device information in JSON format
Inherited functions
Link copied to clipboard
Link copied to clipboard
fun subscribeFor(eventTypes: Array<Class<out STWEvent>>, listener: STWEventListener<STWEvent>): Disposable
Content copied to clipboard
fun subscribeFor(eventTypes: Array<String>, listener: STWEventListener<STWEvent>): Disposable
Content copied to clipboard
Subscribes to the specific eventTypes of the client.
fun subscribeFor( lifecycleOwner: LifecycleOwner, eventTypes: Array<Class<out STWEvent>>, listener: STWEventListener<STWEvent>): Disposable
Content copied to clipboard
fun subscribeFor( lifecycleOwner: LifecycleOwner, eventTypes: Array<String>, listener: STWEventListener<STWEvent>): Disposable
Content copied to clipboard
Subscribes to the specific eventTypes of the client, in the lifecycle of lifecycleOwner.
fun subscribeFor( eventTypes: Array<String>, filter: (STWEvent) -> Boolean, listener: STWEventListener<STWEvent>): Disposable
Content copied to clipboard
Subscribes to the specific eventTypes of the client with additional filter.
fun subscribeFor( lifecycleOwner: LifecycleOwner, eventTypes: Array<String>, filter: (STWEvent) -> Boolean, listener: STWEventListener<STWEvent>): Disposable
Content copied to clipboard
Subscribes to the specific eventTypes of the client with additional filter, in the lifecycle of lifecycleOwner.
Link copied to clipboard
fun <T : STWEvent> subscribeForSingle(eventType: Class<T>, listener: STWEventListener<T>): Disposable
Content copied to clipboard
fun subscribeForSingle(eventType: String, listener: STWEventListener<STWEvent>): Disposable
Content copied to clipboard
Subscribes for the next event with the given eventType.
fun subscribeForSingle( eventType: String, filter: (STWEvent) -> Boolean, listener: STWEventListener<STWEvent>): Disposable
Content copied to clipboard