SparkPushRegistration

The registration of a device to receive push notifications.

e.g.

var player = Spark.getPlayer().getPushRegistrations();

getId

signature getId()

returns string

Gets the id of this registration. This is the registrationId returned from the PushRegistrationResponse.

example

pushRegistration.getId();

getPushId

signature getPushId()

returns string

Returns the id that uniquely identifies the device to the 3rd party push service.

example

pushRegistration.getPushId();

getDeviceOS

signature getDeviceOS()

returns string

Returns the OS type for the device to which this registration belongs.

example

pushRegistration.getDeviceOS();
Did this page help you? Please enter your feedback below. For questions about using this part of the platform, please contact support here