Skip to content

Titanium.Network.PushNotificationSuccessArg

A simple object passed to the registerForPushNotifications success callback.

Extends: SuccessResponse

Properties #

code#

Type: Number

Error code. Returns 0.

Error code will be 0.

deviceToken#

Type: String

The device token which this device was registered for.

error#

Type: String

Error message, if any returned.

Will be undefined.

success#

Type: Boolean

Indicates if the operation succeeded. Returns true.

Returns true.

type#

Type: String

The value of this string is always "remote".

Titanium SDK Documentation