Subject
Iface
constructor
parent_
iface
name
equal
exists
exists_
finish
exists_
sync
hash
to_
string
GJS API Reference
Polkit-1.0
Polkit
SubjectIface
Class SubjectIface
An interface for subjects.
record
Hierarchy
SubjectIface
Index
Constructors
constructor
Properties
parent_
iface
name
Methods
equal
exists
exists_
finish
exists_
sync
hash
to_
string
Constructors
constructor
new
Subject
Iface
(
)
:
SubjectIface
Returns
SubjectIface
Properties
parent_
iface
parent_
iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
equal
equal
(
a
:
Polkit
.
Subject
, b
:
Polkit
.
Subject
)
:
boolean
Parameters
a:
Polkit
.
Subject
b:
Polkit
.
Subject
Returns
boolean
exists
exists
(
subject
:
Polkit
.
Subject
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
subject:
Polkit
.
Subject
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
exists_
finish
exists_
finish
(
subject
:
Polkit
.
Subject
, res
:
AsyncResult
)
:
boolean
Parameters
subject:
Polkit
.
Subject
res:
AsyncResult
Returns
boolean
exists_
sync
exists_
sync
(
subject
:
Polkit
.
Subject
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
subject:
Polkit
.
Subject
cancellable:
Gio
.
Cancellable
Returns
boolean
hash
hash
(
subject
:
Polkit
.
Subject
)
:
number
Parameters
subject:
Polkit
.
Subject
Returns
number
to_
string
to_
string
(
subject
:
Polkit
.
Subject
)
:
string
Parameters
subject:
Polkit
.
Subject
Returns
string
Subject
Iface
constructor
parent_
iface
name
equal
exists
exists_
finish
exists_
sync
hash
to_
string
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJQb2xraXRfMV8wLlBvbGtpdC5TdWJqZWN0SWZhY2UuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOi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