Gamalto

Fork me on GitHub

Object Subscription Overview

Gamalto. Subscription

new Gamalto.Subscription(observers, callback, targetopt)

Creates a context to manage broadcaster subscriptions state. It is not meant to be use directly.

Parameters
Name Type Attributes Description
observers array.<Gamalto.Subscription>

List of observers for the same event.

callback function

Function to be called when an event occurs.

target object <optional>

Execution context when calling the callback.

Extends

Members

tag :object

inherited

Utility property to exchange data between objects.

Inherited From

Methods

clone() object

inherited abstract

Clones the object. It will be shallow copy unless otherwise specfied.

Inherited From
Returns
  • New instance of the object. Defaults to null.

dispose()

Unsubscribes from the event and free related resources.

toString() string

inherited abstract

Converts the object into a string.

Inherited From
Returns
  • string

Documentation generated by JSDoc 3.3.2 on Sun Sep 13 2015 20:13:31 GMT+0200 (CEST)