Class ConsoleRegistration

java.lang.Object
org.openremote.model.console.ConsoleRegistration

public class ConsoleRegistration extends Object
Encapsulates data about a console instance that is used to generate an Asset of type
invalid reference
org.openremote.model.asset.AssetType#CONSOLE
. The console is considered the app used to view the web application (client), for example:

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>'