Package org.openremote.model.console
Class ConsoleRegistration
java.lang.Object
org.openremote.model.console.ConsoleRegistration
Encapsulates data about a console instance that is used to generate an
. The console is considered the app used to view the web
application (client), for example:
Asset
of
type
invalid reference
org.openremote.model.asset.AssetType#CONSOLE
Google Chrome on Windows 10 64-bit used to view the manager and customerA applications would generate the following registration:
invalid input: '{@code
{
"name": "Chrome",
"version": "71.0.3578.98",
"platform": "Windows 10 64-bit",
"model": null,
"providers": {
"push": {
"data": {
"token": "ASasm,sASKasjASasjASJas"
},
"version": "web",
"disabled": false,
"hasPermission": true,
"requiresPermission": true
}
},
"apps": [
"manager"
"customerA"
]
}</pre></blockquote>
<p>
An Android console app called "Smart City" on a Samsung Galaxy S9 running Android 8.0 would generate the following
registration:
<blockquote><pre>{@code
{
"name": "Smart City",
"version": "1.0.0",
"platform": "Android 8.0",
"model": "Samsung Galaxy S9",
"providers": {
"push": {
"data": {
"token": "ASasm,sASKasjASasjASJas"
},
"version": "fcm",
"disabled": false,
"hasPermission": true,
"requiresPermission": true
},
"geofence": {
"version": "ORConsole",
"disabled": false,
"hasPermission": true,
"requiresPermission": true
}
},
"apps": [
"smartcity"
]
}</pre></blockquote>'
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConsoleRegistration
(String id, String name, String version, String platform, Map<String, ConsoleProvider> providers, String model, String[] apps) -
Method Summary
-
Field Details
-
id
-
name
-
version
-
platform
-
model
-
providers
-
apps
-
-
Constructor Details
-
ConsoleRegistration
-
-
Method Details
-
getId
-
setId
-
getName
-
getVersion
-
getPlatform
-
getModel
-
getProviders
-
getApps
-