Trait script::dom::bindings::codegen::Bindings::MediaMetadataBinding::MediaMetadata_Binding::MediaMetadataMethods
source · 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§
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>
Object Safety§
This trait is not object safe.