Media
Object
Class
constructor
name
add
Uri
apply
Didl
Lite
compare
By
Property
create
Stream
Source
For
Resource
serialize
NODE-GTK 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
, didlObject
:
DIDLLiteObject
)
:
void
Parameters
self:
MediaObject
didlObject:
DIDLLiteObject
Returns
void
compare
By
Property
compare
By
Property
(
self
:
MediaObject
, mediaObject
:
MediaObject
, property
:
string
)
:
number
Parameters
self:
MediaObject
mediaObject:
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
, httpServer
:
HTTPServer
)
:
DIDLLiteObject
Parameters
self:
MediaObject
serializer:
RygelServer
.
Serializer
httpServer:
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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