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

#include <clientlib.h>

Inherits client::Object.

Public Member Functions

Stringget_endpoint ()
 
double get_expirationTime ()
 
PushSubscriptionOptionsget_options ()
 
ObjecttoJSON ()
 
Promiseunsubscribe ()
 
PushSubscriptionget_prototype ()
 
void set_prototype (PushSubscription *)
 
 PushSubscription ()
 
- 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

◆ PushSubscription()

client::PushSubscription::PushSubscription ( )

Member Function Documentation

◆ get_endpoint()

String* client::PushSubscription::get_endpoint ( )

◆ get_expirationTime()

double client::PushSubscription::get_expirationTime ( )

◆ get_options()

PushSubscriptionOptions* client::PushSubscription::get_options ( )

◆ get_prototype()

PushSubscription* client::PushSubscription::get_prototype ( )

◆ set_prototype()

void client::PushSubscription::set_prototype ( PushSubscription )

◆ toJSON()

Object* client::PushSubscription::toJSON ( )

◆ unsubscribe()

Promise* client::PushSubscription::unsubscribe ( )