Media
Source
Class
constructor
parent_
class
name
browse
cancel
media_
from_
uri
metadata
notify_
change_
start
notify_
change_
stop
query
remove
search
store
test_
media_
from_
uri
GJS API Reference
Grl-0.1
Grl
MediaSourceClass
Class MediaSourceClass
Grilo MediaSource class. Override the vmethods to implement the source functionality.
record
Hierarchy
MediaSourceClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
browse
cancel
media_
from_
uri
metadata
notify_
change_
start
notify_
change_
stop
query
remove
search
store
test_
media_
from_
uri
Constructors
constructor
new
Media
Source
Class
(
)
:
MediaSourceClass
Returns
MediaSourceClass
Properties
parent_
class
parent_
class
:
MetadataSourceClass
Static
name
name
:
string
Methods
browse
browse
(
source
:
MediaSource
, bs
:
MediaSourceBrowseSpec
)
:
void
Parameters
source:
MediaSource
bs:
MediaSourceBrowseSpec
Returns
void
cancel
cancel
(
source
:
MediaSource
, operation_id
:
number
)
:
void
Parameters
source:
MediaSource
operation_id:
number
Returns
void
media_
from_
uri
media_
from_
uri
(
source
:
MediaSource
, mfss
:
MediaSourceMediaFromUriSpec
)
:
void
Parameters
source:
MediaSource
mfss:
MediaSourceMediaFromUriSpec
Returns
void
metadata
metadata
(
source
:
MediaSource
, ms
:
MediaSourceMetadataSpec
)
:
void
Parameters
source:
MediaSource
ms:
MediaSourceMetadataSpec
Returns
void
notify_
change_
start
notify_
change_
start
(
source
:
MediaSource
)
:
boolean
Parameters
source:
MediaSource
Returns
boolean
notify_
change_
stop
notify_
change_
stop
(
source
:
MediaSource
)
:
boolean
Parameters
source:
MediaSource
Returns
boolean
query
query
(
source
:
MediaSource
, qs
:
MediaSourceQuerySpec
)
:
void
Parameters
source:
MediaSource
qs:
MediaSourceQuerySpec
Returns
void
remove
remove
(
source
:
MediaSource
, ss
:
MediaSourceRemoveSpec
)
:
void
Parameters
source:
MediaSource
ss:
MediaSourceRemoveSpec
Returns
void
search
search
(
source
:
MediaSource
, ss
:
MediaSourceSearchSpec
)
:
void
Parameters
source:
MediaSource
ss:
MediaSourceSearchSpec
Returns
void
store
store
(
source
:
MediaSource
, ss
:
MediaSourceStoreSpec
)
:
void
Parameters
source:
MediaSource
ss:
MediaSourceStoreSpec
Returns
void
test_
media_
from_
uri
test_
media_
from_
uri
(
source
:
MediaSource
, uri
:
string
)
:
boolean
Parameters
source:
MediaSource
uri:
string
Returns
boolean
Media
Source
Class
constructor
parent_
class
name
browse
cancel
media_
from_
uri
metadata
notify_
change_
start
notify_
change_
stop
query
remove
search
store
test_
media_
from_
uri
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHcmxfMF8xLkdybC5NZWRpYVNvdXJjZUNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHcmxfMF8xLkdybC5NZWRpYVNvdXJjZUNsYXNzLmh0bWwjcGFyZW50X2NsYXNzIiwibmFtZSI6InBhcmVudF9jbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIHRzZC1pcy1zdGF0aWMiLCJocmVmIjoiR3JsXzBfMS5HcmwuTWVkaWFTb3VyY2VDbGFzcy5odG1sI25hbWUiLCJuYW1lIjoibmFtZSIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtbWV0aG9kIHRzZC1wYXJlbnQ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