ThetaApi

object ThetaApi

Http client using Ktor

Properties

Link copied to clipboard
val httpClient: HttpClient
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun callGetLivePreviewCommand(endpoint: String): Flow<ByteReadPacket>
suspend fun callGetLivePreviewCommand(endpoint: String, frameHandler: suspend (Pair<ByteArray, Int>) -> Boolean)
Link copied to clipboard
Link copied to clipboard
suspend fun callGetPluginLicenseCommand(endpoint: String, params: GetPluginLicenseParams): HttpResponse

Acquires the license for the installed plugin

Link copied to clipboard

Return the plugins for plugin mode. Supported just by Theta X and Z1.

Link copied to clipboard
suspend fun callInfoApi(endpoint: String): InfoApiResponse
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Registers identification information (UUID) of a BLE device (Smartphone application) connected to the camera. UUID can be set while the wireless LAN function of the camera is placed in the direct mode.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sets the plugins for plugin mode.

Link copied to clipboard
suspend fun callStateApi(endpoint: String): StateApiResponse
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard