Documentation ¶
Index ¶
- Variables
- func GetInterface() js.Value
- type PushManager
- func (p PushManager) GetSubscription() (promise.Promise, error)
- func (p PushManager) PermissionState() (promise.Promise, error)
- func (p PushManager) PushManager_() PushManager
- func (p PushManager) Subscribe() (promise.Promise, error)
- func (p PushManager) SupportedContentEncodings() (array.Array, error)
- type PushManagerFrom
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotImplemented = errors.New("Browser not implemented PushManager") ErrNotAPushManager = errors.New("Object is not a PushManager object") )
Functions ¶
Types ¶
type PushManager ¶
type PushManager struct {
baseobject.BaseObject
}
func NewFromJSObject ¶
func NewFromJSObject(obj js.Value) (PushManager, error)
func (PushManager) GetSubscription ¶
func (p PushManager) GetSubscription() (promise.Promise, error)
func (PushManager) PermissionState ¶
func (p PushManager) PermissionState() (promise.Promise, error)
func (PushManager) PushManager_ ¶
func (p PushManager) PushManager_() PushManager
func (PushManager) SupportedContentEncodings ¶
func (p PushManager) SupportedContentEncodings() (array.Array, error)
type PushManagerFrom ¶
type PushManagerFrom interface {
PushManagerManager_() PushManager
}
Click to show internal directories.
Click to hide internal directories.