Package-level declarations

Types

Link copied to clipboard
open class BaseHttpClient

Base class of custom HTTP client

Link copied to clipboard
class BaseHttpClientException(msg: String, cause: Throwable? = null) : Exception

exception for posting firmware files

Link copied to clipboard
class DigestAuth(val username: String, password: String? = null)

Authentication information used for client mode

Link copied to clipboard
actual typealias FrameSource = Bitmap

converted frame Source data class

expect class FrameSource

converted frame source data class

actual typealias FrameSource = <Error class: unknown class>

converted frame source data class

Link copied to clipboard
class Greeting
Link copied to clipboard

HTTP client interface for update firmware This interface is used in unit tests.

Link copied to clipboard

http client implementation just for update firmware

Link copied to clipboard
actual class Platform

describe platform

expect class Platform

describe platform

actual class Platform

describe platform

Link copied to clipboard

Repository to handle Theta web APIs.

Functions

Link copied to clipboard
actual fun frameFrom(packet: Pair<ByteArray, Int>): FrameSource

convert packet to android Bitmap

expect fun frameFrom(packet: Pair<ByteArray, Int>): FrameSource

convert packet to platform dependent frame source data

actual fun frameFrom(packet: Pair<ByteArray, Int>): FrameSource

convert packet to NSData frame source data

Link copied to clipboard

Return default MultipartPostHttpClient for update firmware