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

#include <clientlib.h>

Inherits client::Event.

Public Member Functions

Objectget_data ()
 
Stringget_lastEventId ()
 
Stringget_origin ()
 
ReadonlyArray< MessagePort > * get_ports ()
 
ServiceWorkerget_source ()
 
ServiceWorkerMessageEventget_prototype ()
 
void set_prototype (ServiceWorkerMessageEvent *)
 
 ServiceWorkerMessageEvent (const String &type)
 
 ServiceWorkerMessageEvent (const String &type, ServiceWorkerMessageEventInit *eventInitDict)
 
- Public Member Functions inherited from client::Event
bool get_bubbles ()
 
bool get_cancelBubble ()
 
void set_cancelBubble (bool)
 
bool get_cancelable ()
 
EventTargetget_currentTarget ()
 
bool get_defaultPrevented ()
 
double get_eventPhase ()
 
bool get_isTrusted ()
 
bool get_returnValue ()
 
void set_returnValue (bool)
 
bool get_scoped ()
 
Elementget_srcElement ()
 
EventTargetget_target ()
 
double get_timeStamp ()
 
Stringget_type ()
 
ArraydeepPath ()
 
void initEvent (const String &type)
 
void initEvent (const String &type, bool bubbles)
 
void initEvent (const String &type, bool bubbles, bool cancelable)
 
void preventDefault ()
 
void stopImmediatePropagation ()
 
void stopPropagation ()
 
Eventget_prototype ()
 
void set_prototype (Event *)
 
 Event (const String &typeArg)
 
 Event (const String &typeArg, EventInit *eventInitDict)
 
double get_AT_TARGET ()
 
double get_BUBBLING_PHASE ()
 
double get_CAPTURING_PHASE ()
 
double get_NONE ()
 
- 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)
 

Constructor & Destructor Documentation

◆ ServiceWorkerMessageEvent() [1/2]

client::ServiceWorkerMessageEvent::ServiceWorkerMessageEvent ( const String type)

◆ ServiceWorkerMessageEvent() [2/2]

client::ServiceWorkerMessageEvent::ServiceWorkerMessageEvent ( const String type,
ServiceWorkerMessageEventInit eventInitDict 
)

Member Function Documentation

◆ get_data()

Object* client::ServiceWorkerMessageEvent::get_data ( )

◆ get_lastEventId()

String* client::ServiceWorkerMessageEvent::get_lastEventId ( )

◆ get_origin()

String* client::ServiceWorkerMessageEvent::get_origin ( )

◆ get_ports()

ReadonlyArray<MessagePort>* client::ServiceWorkerMessageEvent::get_ports ( )

◆ get_prototype()

ServiceWorkerMessageEvent* client::ServiceWorkerMessageEvent::get_prototype ( )

◆ get_source()

ServiceWorker* client::ServiceWorkerMessageEvent::get_source ( )

◆ set_prototype()

void client::ServiceWorkerMessageEvent::set_prototype ( ServiceWorkerMessageEvent )