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
NODE-GTK 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
, operationId
:
number
)
:
void
Parameters
source:
MediaSource
operationId:
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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHcmxfMF8xLkdybC5NZWRpYVNvdXJjZUNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHcmxfMF8xLkdybC5NZWRpYVNvdXJjZUNsYXNzLmh0bWwjcGFyZW50Q2xhc3MiLCJuYW1lIjoicGFyZW50Q2xhc3MiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6IkdybF8wXzEuR3JsLk1lZGlhU291cmNlQ2xhc3MuaHRtbCNuYW1lIiwibmFtZSI6Im5hbWUiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLW1ldGhvZCB0c2QtcGFyZW50LWtpbmQtY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