Media
File
Item
Class
constructor
name
add_
additional_
resources
add_
engine_
resources
add_
engine_
resources_
finish
get_
extension
get_
primary_
resource
GJS API Reference
RygelServer-2.6
RygelServer
MediaFileItemClass
Class MediaFileItemClass
Hierarchy
MediaFileItemClass
Index
Constructors
constructor
Properties
name
Methods
add_
additional_
resources
add_
engine_
resources
add_
engine_
resources_
finish
get_
extension
get_
primary_
resource
Constructors
constructor
new
Media
File
Item
Class
(
)
:
MediaFileItemClass
Returns
MediaFileItemClass
Properties
Static
name
name
:
string
Methods
add_
additional_
resources
add_
additional_
resources
(
self
:
MediaFileItem
, server
:
HTTPServer
)
:
void
Parameters
self:
MediaFileItem
server:
HTTPServer
Returns
void
add_
engine_
resources
add_
engine_
resources
(
self
:
MediaFileItem
, _callback_
:
AsyncReadyCallback
)
:
void
Parameters
self:
MediaFileItem
_callback_:
AsyncReadyCallback
Returns
void
add_
engine_
resources_
finish
add_
engine_
resources_
finish
(
self
:
MediaFileItem
, _res_
:
AsyncResult
)
:
void
Parameters
self:
MediaFileItem
_res_:
AsyncResult
Returns
void
get_
extension
get_
extension
(
self
:
MediaFileItem
)
:
string
Parameters
self:
MediaFileItem
Returns
string
get_
primary_
resource
get_
primary_
resource
(
self
:
MediaFileItem
)
:
MediaResource
Parameters
self:
MediaFileItem
Returns
MediaResource
Media
File
Item
Class
constructor
name
add_
additional_
resources
add_
engine_
resources
add_
engine_
resources_
finish
get_
extension
get_
primary_
resource
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJSeWdlbFNlcnZlcl8yXzYuUnlnZWxTZXJ2ZXIuTWVkaWFGaWxlSXRlbUNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRyd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