callGetPluginLicenseCommand

suspend fun callGetPluginLicenseCommand(endpoint: String, params: GetPluginLicenseParams): HttpResponse

Acquires the license for the installed plugin

Return

HttpResponse If response.status is OK, you can get html string of the license to call response.bodyAsText().

Parameters

endpoint

Endpoint of Theta web API

params

camera._getPluginLicense parameters

Throws

java.net.ConnectException

can not connect to target endpoint

ConnectTimeoutException

timeout to connect target endpoint

RedirectResponseException

target response 3xx status

ClientRequestException

target response 4xx status

ServerResponseException

target response 5xx status