pub trait MediaMetadataMethods {
    // Required methods
    fn Title(&self) -> DOMString;
    fn SetTitle(&self, value: DOMString);
    fn Artist(&self) -> DOMString;
    fn SetArtist(&self, value: DOMString);
    fn Album(&self) -> DOMString;
    fn SetAlbum(&self, value: DOMString);
    fn Constructor(
        global: &Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        init: &MediaMetadataInit,
    ) -> Result<Root<Dom<MediaMetadata>>, Error>;
}

Required Methods§

source

fn Title(&self) -> DOMString

source

fn SetTitle(&self, value: DOMString)

source

fn Artist(&self) -> DOMString

source

fn SetArtist(&self, value: DOMString)

source

fn Album(&self) -> DOMString

source

fn SetAlbum(&self, value: DOMString)

source

fn Constructor( global: &Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, init: &MediaMetadataInit, ) -> Result<Root<Dom<MediaMetadata>>, Error>

Object Safety§

This trait is not object safe.

Implementors§