$application
$application : string
The Pushwoosh application ID for which one to register a new device.
Class which represents Pushwoosh '/registerDevice' request.
create() : \Gomoob\Pushwoosh\Model\Request\RegisterDeviceRequest
Utility function used to create a new instance of the <tt>RegisterDeviceRequest</tt>.
the new created instance.
getHwid() : string
Gets the Unique string to identify the device (Please note that accessing UDID on iOS is deprecated and not allowed, one of the alternative ways now is to use MAC address).
the Unique string to identify the device (Please note that accessing UDID on iOS is deprecated and
not allowed, one of the alternative ways now is to use MAC address).
setApplication(string $application) : \Gomoob\Pushwoosh\Model\Request\RegisterDeviceRequest
Sets the Pushwoosh application ID for which one to register a new device.
string | $application | the the Pushwoosh application ID for which one to register a new device. |
this instance.
setDeviceType(int $deviceType) : \Gomoob\Pushwoosh\Model\Request\RegisterDeviceRequest
Sets the device type, this attribute can take the following values : - 1 : iPhone - 2 : Blackberry - 3 : Android - 4 : Nokia - 5 : Windows Phone 7 - 7 : Mac
int | $deviceType | the device type to set. |
this instance.
setHwid(string $hwid) : \Gomoob\Pushwoosh\Model\Request\RegisterDeviceRequest
Sets the Unique string to identify the device (Please note that accessing UDID on iOS is deprecated and not allowed, one of the alternative ways now is to use MAC address).
string | $hwid | the Unique string to identify the device (Please note that accessing UDID on iOS is
|
this instance.
setLanguage(string $language) : \Gomoob\Pushwoosh\Model\Request\RegisterDeviceRequest
Sets the the language local of the device, this is a 2 letter local (for exempke "en").
string | $language | the the language local of the device, this is a 2 letter local (for exempke "en"). |
this instance.
setPushToken(string $pushToken) : \Gomoob\Pushwoosh\Model\Request\RegisterDeviceRequest
Sets the push token associated to the device.
string | $pushToken | the push token associated to the device. |
this instance.
setTimezone(int $timezone) : \Gomoob\Pushwoosh\Model\Request\RegisterDeviceRequest
Sets the timezone offset in seconds for the device (optional).
int | $timezone | the timezone offset in seconds for the device (optional). |
this instance.