Backend
Class
constructor
name
request_
name
send_
message
GJS API Reference
Unique-3.0
Unique
BackendClass
Class BackendClass
The class that should be implemented by every backend for #UniqueApp.
record
Hierarchy
BackendClass
Index
Constructors
constructor
Properties
name
Methods
request_
name
send_
message
Constructors
constructor
new
Backend
Class
(
)
:
Unique
.
BackendClass
Returns
Unique
.
BackendClass
Properties
Static
name
name
:
string
Methods
request_
name
request_
name
(
backend
:
Unique
.
Backend
)
:
boolean
Parameters
backend:
Unique
.
Backend
Returns
boolean
send_
message
send_
message
(
backend
:
Unique
.
Backend
, command_id
:
number
, message_data
:
MessageData
, time_
:
number
)
:
Response
Parameters
backend:
Unique
.
Backend
command_id:
number
message_data:
MessageData
time_:
number
Returns
Response
Backend
Class
constructor
name
request_
name
send_
message
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJVbmlxdWVfM18wLlVuaXF1ZS5CYWNrZW5kQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiVW5pcXVlXzNfMC5VbmlxdWUuQmFja2VuZENsYXNzLmh0bWwjbmFtZSIsIm5hbWUiOiJuYW1lIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1tZXRob2QgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IlVuaXF1ZV8zXzAuVW5pcXVlLkJhY2tlbmRDbGFzcy5odG1sI3J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