Media
Object
Class
constructor
name
add_
uri
apply_
didl_
lite
compare_
by_
property
create_
stream_
source_
for_
resource
serialize
GJS API Reference
RygelServer-2.6
RygelServer
MediaObjectClass
Class MediaObjectClass
Hierarchy
MediaObjectClass
Index
Constructors
constructor
Properties
name
Methods
add_
uri
apply_
didl_
lite
compare_
by_
property
create_
stream_
source_
for_
resource
serialize
Constructors
constructor
new
Media
Object
Class
(
)
:
MediaObjectClass
Returns
MediaObjectClass
Properties
Static
name
name
:
string
Methods
add_
uri
add_
uri
(
self
:
MediaObject
, uri
:
string
)
:
void
Parameters
self:
MediaObject
uri:
string
Returns
void
apply_
didl_
lite
apply_
didl_
lite
(
self
:
MediaObject
, didl_object
:
DIDLLiteObject
)
:
void
Parameters
self:
MediaObject
didl_object:
DIDLLiteObject
Returns
void
compare_
by_
property
compare_
by_
property
(
self
:
MediaObject
, media_object
:
MediaObject
, property
:
string
)
:
number
Parameters
self:
MediaObject
media_object:
MediaObject
property:
string
Returns
number
create_
stream_
source_
for_
resource
create_
stream_
source_
for_
resource
(
self
:
MediaObject
, request
:
HTTPRequest
, resource
:
MediaResource
)
:
RygelServer
.
DataSource
Parameters
self:
MediaObject
request:
HTTPRequest
resource:
MediaResource
Returns
RygelServer
.
DataSource
serialize
serialize
(
self
:
MediaObject
, serializer
:
RygelServer
.
Serializer
, http_server
:
HTTPServer
)
:
DIDLLiteObject
Parameters
self:
MediaObject
serializer:
RygelServer
.
Serializer
http_server:
HTTPServer
Returns
DIDLLiteObject
Media
Object
Class
constructor
name
add_
uri
apply_
didl_
lite
compare_
by_
property
create_
stream_
source_
for_
resource
serialize
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJSeWdlbFNlcnZlcl8yXzYuUnlnZWxTZXJ2ZXIuTWVkaWFPYmplY3RDbGFzcy5odG1sI2NvbnN0cnVjdG9y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