Connection
Class
constructor
parent
name
authenticate
connected
connecting
disconnected
get_
protocol_
version_
cc
get_
query_
metadata
operation_
done
GJS API Reference
DMAP-3.0
DMAP
ConnectionClass
Class ConnectionClass
Hierarchy
ConnectionClass
Index
Constructors
constructor
Properties
parent
name
Methods
authenticate
connected
connecting
disconnected
get_
protocol_
version_
cc
get_
query_
metadata
operation_
done
Constructors
constructor
new
Connection
Class
(
)
:
DMAP
.
ConnectionClass
Returns
DMAP
.
ConnectionClass
Properties
parent
parent
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
authenticate
authenticate
(
connection
:
DMAP
.
Connection
, name
:
string
)
:
string
Parameters
connection:
DMAP
.
Connection
name:
string
Returns
string
connected
connected
(
connection
:
DMAP
.
Connection
)
:
void
Parameters
connection:
DMAP
.
Connection
Returns
void
connecting
connecting
(
connection
:
DMAP
.
Connection
, state
:
DMAP
.
ConnectionState
, progress
:
number
)
:
void
Parameters
connection:
DMAP
.
Connection
state:
DMAP
.
ConnectionState
progress:
number
Returns
void
disconnected
disconnected
(
connection
:
DMAP
.
Connection
)
:
void
Parameters
connection:
DMAP
.
Connection
Returns
void
get_
protocol_
version_
cc
get_
protocol_
version_
cc
(
connection
:
DMAP
.
Connection
)
:
ContentCode
Parameters
connection:
DMAP
.
Connection
Returns
ContentCode
get_
query_
metadata
get_
query_
metadata
(
connection
:
DMAP
.
Connection
)
:
string
Parameters
connection:
DMAP
.
Connection
Returns
string
operation_
done
operation_
done
(
connection
:
DMAP
.
Connection
)
:
void
Parameters
connection:
DMAP
.
Connection
Returns
void
Connection
Class
constructor
parent
name
authenticate
connected
connecting
disconnected
get_
protocol_
version_
cc
get_
query_
metadata
operation_
done
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJETUFQXzNfMC5ETUFQLkNvbm5lY3Rpb25DbGFzcy5odG1sI2Nv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