pub trait DOMMediaListExt: 'static {
    fn append_medium(&self, newMedium: &str) -> Result<(), Error>;
    fn delete_medium(&self, oldMedium: &str) -> Result<(), Error>;
    fn length(&self) -> c_ulong;
    fn media_text(&self) -> Option<GString>;
    fn item(&self, index: c_ulong) -> Option<GString>;
    fn set_media_text(&self, value: &str) -> Result<(), Error>;
    fn connect_length_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_media_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Trait containing all DOMMediaList methods.

Implementors

DOMMediaList

Required Methods

Deprecated since 2.22

Use JavaScriptCore API instead

newMedium

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

oldMedium

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gulong

Deprecated since 2.22

Use JavaScriptCore API instead

Returns

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

index

A gulong

Returns

A gchar

Deprecated since 2.22

Use JavaScriptCore API instead

value

A gchar

Implementors