com.oscleton.sdk / OscletonSDK
OscletonSDK
class OscletonSDK
The main entry point to use Oscleton SDK.
This singleton provides multiple features split in different classes:
- Configuration is responsible for the settings needed to establish the connection.
- Controller lets you control a Live set from your Android device.
- Receiver lets you receive Live set events in real time on your Android device.
Since 0.1
Constructors
Name | Summary |
---|---|
<init> | OscletonSDK() The main entry point to use Oscleton SDK. |
Properties
Name | Summary |
---|---|
browser | val browser: Browser |
config | val config: Configuration |
controller | val ~~controller~~: Controller |
devices | val devices: Devices |
liveSet | val liveSet: LiveSet |
receiver | val ~~receiver~~: Receiver |
tracks | val tracks: Tracks |
Functions
Name | Summary |
---|---|
connect | fun connect(): Unit Connect the device and prepare to listen for incoming changes. |
disconnect | fun disconnect(): Unit Disconnect the device and close the incoming changes listener. |
initialize | fun initialize(): Unit Initialize the SDK. |
startListening | fun startListening(): Unit Start listening for incoming changes. |
stopListening | fun stopListening(): Unit Stop listening for incoming changes. |
Companion Object Properties
Name | Summary |
---|---|
instance | val instance: OscletonSDK |
Extension Properties
Name | Summary |
---|---|
boolean | val Any .boolean: Boolean Extension property to cast an Any to Boolean. |
float | val Any .float: Float Extension property to cast an Any to Float. |
int | val Any .int: Int Extension property to cast an Any to Int. |
string | val Any .string: String Extension property to cast an Any to String. |