Handle operation on notification sensor.

Usage

notification keyword is needed to instanciate this sting.

var notification = require('notification');

Data accessors

Methods

Full Example

var notification = require('notification');

var createResult = notification.create(title, content, cancelable);
var dataResult = notification.data();

timestamp

Retrieve the represents the time of the operation..

timestamp();

Parameters

  • None.

Return

  • timestamp : Long, represents the time of the operation.

create

Create a basic notification.

create(titlecontentcancelable);

Parameters

  • title (String): The title of the notification.
  • content (String): The content of the notification title.
  • cancelable (Boolean): Boolean that indicates if the notification is cancelable or not.

Returns

data

Returns every available seed.

data();

Parameters

  • None.

Returns