Trait script::dom::bindings::codegen::Bindings::NavigatorBinding::Navigator_Binding::NavigatorMethods
source · pub trait NavigatorMethods<D: DomTypes> {
Show 25 methods
// Required methods
fn MediaSession(&self) -> Root<Dom<MediaSession>>;
fn Bluetooth(&self) -> Root<Dom<Bluetooth>>;
fn ServiceWorker(&self) -> Root<Dom<ServiceWorkerContainer>>;
fn Permissions(&self) -> Root<Dom<Permissions>>;
fn GetGamepads(&self) -> Vec<Option<Root<Dom<Gamepad>>>>;
fn MediaDevices(&self) -> Root<Dom<MediaDevices>>;
fn Xr(&self) -> Root<Dom<XRSystem>>;
fn HardwareConcurrency(&self) -> u64;
fn CookieEnabled(&self) -> bool;
fn Gpu(&self) -> Root<Dom<GPU>>;
fn AppCodeName(&self) -> DOMString;
fn AppName(&self) -> DOMString;
fn AppVersion(&self) -> DOMString;
fn Platform(&self) -> DOMString;
fn Product(&self) -> DOMString;
fn ProductSub(&self) -> DOMString;
fn TaintEnabled(&self) -> bool;
fn UserAgent(&self) -> DOMString;
fn Vendor(&self) -> DOMString;
fn VendorSub(&self) -> DOMString;
fn Language(&self) -> DOMString;
fn Languages(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
fn Plugins(&self) -> Root<Dom<PluginArray>>;
fn MimeTypes(&self) -> Root<Dom<MimeTypeArray>>;
fn JavaEnabled(&self) -> bool;
}