API documentation  2.0rc1
Public Member Functions | List of all members
client::Navigator Class Reference

#include <clientlib.h>

Inherits client::NavigatorID, client::NavigatorOnLine, client::NavigatorContentUtils, client::NavigatorStorageUtils, client::MSNavigatorDoNotTrack, client::MSFileSaver, client::NavigatorBeacon, client::NavigatorConcurrentHardware, client::NavigatorUserMedia, and client::NavigatorLanguage.

Public Member Functions

ReadonlyArray< VRDisplay > * get_activeVRDisplays ()
 
WebAuthenticationget_authentication ()
 
bool get_cookieEnabled ()
 
Stringget_doNotTrack ()
 
Stringget_gamepadInputEmulation ()
 
void set_gamepadInputEmulation (const String &)
 
Geolocationget_geolocation ()
 
double get_maxTouchPoints ()
 
MimeTypeArrayget_mimeTypes ()
 
bool get_msManipulationViewsEnabled ()
 
double get_msMaxTouchPoints ()
 
bool get_msPointerEnabled ()
 
PluginArrayget_plugins ()
 
bool get_pointerEnabled ()
 
ServiceWorkerContainerget_serviceWorker ()
 
bool get_webdriver ()
 
ArraygetGamepads ()
 
PromisegetVRDisplays ()
 
bool javaEnabled ()
 
void msLaunchUri (const String &uri)
 
void msLaunchUri (const String &uri, EventListener *successCallback)
 
void msLaunchUri (const String &uri, EventListener *successCallback, EventListener *noHandlerCallback)
 
PromiserequestMediaKeySystemAccess (const String &keySystem, Array *supportedConfigurations)
 
bool vibrate (double pattern)
 
bool vibrate (Array *pattern)
 
Navigatorget_prototype ()
 
void set_prototype (Navigator *)
 
 Navigator ()
 
- Public Member Functions inherited from client::NavigatorID
Stringget_appCodeName ()
 
Stringget_appName ()
 
Stringget_appVersion ()
 
Stringget_platform ()
 
Stringget_product ()
 
Stringget_productSub ()
 
Stringget_userAgent ()
 
Stringget_vendor ()
 
Stringget_vendorSub ()
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 
- Public Member Functions inherited from client::NavigatorOnLine
bool get_onLine ()
 
- Public Member Functions inherited from client::MSNavigatorDoNotTrack
bool confirmSiteSpecificTrackingException (ConfirmSiteSpecificExceptionsInformation *args)
 
bool confirmWebWideTrackingException (ExceptionInformation *args)
 
void removeSiteSpecificTrackingException (ExceptionInformation *args)
 
void removeWebWideTrackingException (ExceptionInformation *args)
 
void storeSiteSpecificTrackingException (StoreSiteSpecificExceptionsInformation *args)
 
void storeWebWideTrackingException (StoreExceptionsInformation *args)
 
- Public Member Functions inherited from client::MSFileSaver
bool msSaveBlob (Object *blob)
 
bool msSaveBlob (Object *blob, const String &defaultName)
 
bool msSaveOrOpenBlob (Object *blob)
 
bool msSaveOrOpenBlob (Object *blob, const String &defaultName)
 
- Public Member Functions inherited from client::NavigatorBeacon
bool sendBeacon (const String &url)
 
bool sendBeacon (const String &url, Blob *data)
 
bool sendBeacon (const String &url, Int8Array *data)
 
bool sendBeacon (const String &url, Int16Array *data)
 
bool sendBeacon (const String &url, Int32Array *data)
 
bool sendBeacon (const String &url, Uint8Array *data)
 
bool sendBeacon (const String &url, Uint16Array *data)
 
bool sendBeacon (const String &url, Uint32Array *data)
 
bool sendBeacon (const String &url, Uint8ClampedArray *data)
 
bool sendBeacon (const String &url, Float32Array *data)
 
bool sendBeacon (const String &url, Float64Array *data)
 
bool sendBeacon (const String &url, DataView *data)
 
bool sendBeacon (const String &url, ArrayBuffer *data)
 
bool sendBeacon (const String &url, FormData *data)
 
bool sendBeacon (const String &url, const String &data)
 
- Public Member Functions inherited from client::NavigatorConcurrentHardware
double get_hardwareConcurrency ()
 
- Public Member Functions inherited from client::NavigatorUserMedia
MediaDevicesget_mediaDevices ()
 
PromisegetDisplayMedia (MediaStreamConstraints *constraints)
 
void getUserMedia (MediaStreamConstraints *constraints, EventListener *successCallback, EventListener *errorCallback)
 
- Public Member Functions inherited from client::NavigatorLanguage
Stringget_language ()
 
ReadonlyArray< String > * get_languages ()
 

Constructor & Destructor Documentation

◆ Navigator()

client::Navigator::Navigator ( )

Member Function Documentation

◆ get_activeVRDisplays()

ReadonlyArray<VRDisplay>* client::Navigator::get_activeVRDisplays ( )

◆ get_authentication()

WebAuthentication* client::Navigator::get_authentication ( )

◆ get_cookieEnabled()

bool client::Navigator::get_cookieEnabled ( )

◆ get_doNotTrack()

String* client::Navigator::get_doNotTrack ( )

◆ get_gamepadInputEmulation()

String* client::Navigator::get_gamepadInputEmulation ( )

◆ get_geolocation()

Geolocation* client::Navigator::get_geolocation ( )

◆ get_maxTouchPoints()

double client::Navigator::get_maxTouchPoints ( )

◆ get_mimeTypes()

MimeTypeArray* client::Navigator::get_mimeTypes ( )

◆ get_msManipulationViewsEnabled()

bool client::Navigator::get_msManipulationViewsEnabled ( )

◆ get_msMaxTouchPoints()

double client::Navigator::get_msMaxTouchPoints ( )

◆ get_msPointerEnabled()

bool client::Navigator::get_msPointerEnabled ( )

◆ get_plugins()

PluginArray* client::Navigator::get_plugins ( )

◆ get_pointerEnabled()

bool client::Navigator::get_pointerEnabled ( )

◆ get_prototype()

Navigator* client::Navigator::get_prototype ( )

◆ get_serviceWorker()

ServiceWorkerContainer* client::Navigator::get_serviceWorker ( )

◆ get_webdriver()

bool client::Navigator::get_webdriver ( )

◆ getGamepads()

Array* client::Navigator::getGamepads ( )

◆ getVRDisplays()

Promise* client::Navigator::getVRDisplays ( )

◆ javaEnabled()

bool client::Navigator::javaEnabled ( )

◆ msLaunchUri() [1/3]

void client::Navigator::msLaunchUri ( const String uri)

◆ msLaunchUri() [2/3]

void client::Navigator::msLaunchUri ( const String uri,
EventListener successCallback 
)

◆ msLaunchUri() [3/3]

void client::Navigator::msLaunchUri ( const String uri,
EventListener successCallback,
EventListener noHandlerCallback 
)

◆ requestMediaKeySystemAccess()

Promise* client::Navigator::requestMediaKeySystemAccess ( const String keySystem,
Array supportedConfigurations 
)

◆ set_gamepadInputEmulation()

void client::Navigator::set_gamepadInputEmulation ( const String )

◆ set_prototype()

void client::Navigator::set_prototype ( Navigator )

◆ vibrate() [1/2]

bool client::Navigator::vibrate ( double  pattern)

◆ vibrate() [2/2]

bool client::Navigator::vibrate ( Array pattern)