unlock
disables kiosk mode
Disables kiosk mode
/unlock
Usage and SDK Samples
curl -X POST\
"//unlock"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UtilsApi;
import java.io.File;
import java.util.*;
public class UtilsApiExample {
public static void main(String[] args) {
UtilsApi apiInstance = new UtilsApi();
try {
apiInstance.unlock();
} catch (ApiException e) {
System.err.println("Exception when calling UtilsApi#unlock");
e.printStackTrace();
}
}
}
import io.swagger.client.api.UtilsApi;
public class UtilsApiExample {
public static void main(String[] args) {
UtilsApi apiInstance = new UtilsApi();
try {
apiInstance.unlock();
} catch (ApiException e) {
System.err.println("Exception when calling UtilsApi#unlock");
e.printStackTrace();
}
}
}
UtilsApi *apiInstance = [[UtilsApi alloc] init];
// disables kiosk mode
[apiInstance unlockWithCompletionHandler:
^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var ISmaAndroidApplicationViewManagementApi = require('i_sma_android_application___view_management_api');
var api = new ISmaAndroidApplicationViewManagementApi.UtilsApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.unlock(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class unlockExample
{
public void main()
{
var apiInstance = new UtilsApi();
try
{
// disables kiosk mode
apiInstance.unlock();
}
catch (Exception e)
{
Debug.Print("Exception when calling UtilsApi.unlock: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiUtilsApi();
try {
$api_instance->unlock();
} catch (Exception $e) {
echo 'Exception when calling UtilsApi->unlock: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UtilsApi;
my $api_instance = WWW::SwaggerClient::UtilsApi->new();
eval {
$api_instance->unlock();
};
if ($@) {
warn "Exception when calling UtilsApi->unlock: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.UtilsApi()
try:
# disables kiosk mode
api_instance.unlock()
except ApiException as e:
print("Exception when calling UtilsApi->unlock: %s\n" % e)