Volume
Iface
constructor
g
Iface
name
can
Eject
can
Mount
changed
eject
eject
Finish
eject
With
Operation
eject
With
Operation
Finish
enumerate
Identifiers
get
Activation
Root
get
Drive
get
Icon
get
Identifier
get
Mount
get
Name
get
Sort
Key
get
Symbolic
Icon
get
Uuid
mount
Finish
mount
Fn
removed
should
Automount
NODE-GTK API Reference
Gio-2.0
Gio
VolumeIface
Class VolumeIface
Interface for implementing operations for mountable volumes.
record
Hierarchy
VolumeIface
Index
Constructors
constructor
Properties
g
Iface
name
Methods
can
Eject
can
Mount
changed
eject
eject
Finish
eject
With
Operation
eject
With
Operation
Finish
enumerate
Identifiers
get
Activation
Root
get
Drive
get
Icon
get
Identifier
get
Mount
get
Name
get
Sort
Key
get
Symbolic
Icon
get
Uuid
mount
Finish
mount
Fn
removed
should
Automount
Constructors
constructor
new
Volume
Iface
(
)
:
VolumeIface
Returns
VolumeIface
Properties
g
Iface
g
Iface
:
TypeInterface
The parent interface.
field
Static
name
name
:
string
Methods
can
Eject
can
Eject
(
volume
:
Volume
)
:
boolean
Parameters
volume:
Volume
Returns
boolean
can
Mount
can
Mount
(
volume
:
Volume
)
:
boolean
Parameters
volume:
Volume
Returns
boolean
changed
changed
(
volume
:
Volume
)
:
void
Parameters
volume:
Volume
Returns
void
eject
eject
(
volume
:
Volume
, flags
:
MountUnmountFlags
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
volume:
Volume
flags:
MountUnmountFlags
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
eject
Finish
eject
Finish
(
volume
:
Volume
, result
:
AsyncResult
)
:
boolean
Parameters
volume:
Volume
result:
AsyncResult
Returns
boolean
eject
With
Operation
eject
With
Operation
(
volume
:
Volume
, flags
:
MountUnmountFlags
, mountOperation
:
Gio
.
MountOperation
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
volume:
Volume
flags:
MountUnmountFlags
mountOperation:
Gio
.
MountOperation
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
eject
With
Operation
Finish
eject
With
Operation
Finish
(
volume
:
Volume
, result
:
AsyncResult
)
:
boolean
Parameters
volume:
Volume
result:
AsyncResult
Returns
boolean
enumerate
Identifiers
enumerate
Identifiers
(
volume
:
Volume
)
:
string
[]
Parameters
volume:
Volume
Returns
string
[]
get
Activation
Root
get
Activation
Root
(
volume
:
Volume
)
:
Gio
.
File
Parameters
volume:
Volume
Returns
Gio
.
File
get
Drive
get
Drive
(
volume
:
Volume
)
:
Gio
.
Drive
Parameters
volume:
Volume
Returns
Gio
.
Drive
get
Icon
get
Icon
(
volume
:
Volume
)
:
Gio
.
Icon
Parameters
volume:
Volume
Returns
Gio
.
Icon
get
Identifier
get
Identifier
(
volume
:
Volume
, kind
:
string
)
:
string
Parameters
volume:
Volume
kind:
string
Returns
string
get
Mount
get
Mount
(
volume
:
Volume
)
:
Mount
Parameters
volume:
Volume
Returns
Mount
get
Name
get
Name
(
volume
:
Volume
)
:
string
Parameters
volume:
Volume
Returns
string
get
Sort
Key
get
Sort
Key
(
volume
:
Volume
)
:
string
Parameters
volume:
Volume
Returns
string
get
Symbolic
Icon
get
Symbolic
Icon
(
volume
:
Volume
)
:
Gio
.
Icon
Parameters
volume:
Volume
Returns
Gio
.
Icon
get
Uuid
get
Uuid
(
volume
:
Volume
)
:
string
Parameters
volume:
Volume
Returns
string
mount
Finish
mount
Finish
(
volume
:
Volume
, result
:
AsyncResult
)
:
boolean
Parameters
volume:
Volume
result:
AsyncResult
Returns
boolean
mount
Fn
mount
Fn
(
volume
:
Volume
, flags
:
MountMountFlags
, mountOperation
:
Gio
.
MountOperation
, cancellable
:
Gio
.
Cancellable
, callback
:
AsyncReadyCallback
)
:
void
Parameters
volume:
Volume
flags:
MountMountFlags
mountOperation:
Gio
.
MountOperation
cancellable:
Gio
.
Cancellable
callback:
AsyncReadyCallback
Returns
void
removed
removed
(
volume
:
Volume
)
:
void
Parameters
volume:
Volume
Returns
void
should
Automount
should
Automount
(
volume
:
Volume
)
:
boolean
Parameters
volume:
Volume
Returns
boolean
Volume
Iface
constructor
g
Iface
name
can
Eject
can
Mount
changed
eject
eject
Finish
eject
With
Operation
eject
With
Operation
Finish
enumerate
Identifiers
get
Activation
Root
get
Drive
get
Icon
get
Identifier
get
Mount
get
Name
get
Sort
Key
get
Symbolic
Icon
get
Uuid
mount
Finish
mount
Fn
removed
should
Automount
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdpby5Wb2x1bWVJZmFjZS5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR2lvXzJfMC5HaW8uVm9sdW1lSWZhY2UuaHRtbCNnSWZhY2UiLCJuYW1lIjoiZ0lmYWNlIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJHaW9fMl8wLkdpby5Wb2x1bWVJZmFjZS5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHaW9fMl8wLkdp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