Class NotificationAlertAndroid
DTO part for notification.alert.android
.
-
WonderPush\Obj\BaseObject
implements
WonderPush\Util\JsonSerializable
-
┗
WonderPush\Obj\NotificationAlert
-
┗
WonderPush\Obj\NotificationAlertAndroid
Methods summary
public
getType( void )
: string
public
setType( string $type
)
:
public
getChannel( void )
: string
public
setChannel( string $channel
)
:
public
getHtml( void )
: boolean
public
setHtml( boolean $html
)
:
public
getSubText( void )
: string
public
setSubText( string $subText
)
:
public
getInfo( void )
: string
public
setInfo( string $info
)
:
public
getTicker( void )
: string
public
setTicker( string $ticker
)
:
public
getPriority( void )
: integer
public
setPriority( integer $priority
)
:
public
getAutoOpen( void )
: boolean
public
setAutoOpen( boolean $autoOpen
)
:
public
getAutoDrop( void )
: boolean
public
setAutoDrop( boolean $autoDrop
)
:
public
getPersons( void )
: string[]
public
setPersons( string[] $persons
)
:
public
getCategory( void )
: string
public
setCategory( string $category
)
:
public
getColor( void )
: string
public
setColor( string $color
)
:
public
getGroup( void )
: string
public
setGroup( string $group
)
:
public
getSortKey( void )
: string
public
setSortKey( string $sortKey
)
:
public
getLocalOnly( void )
: boolean
public
setLocalOnly( boolean $localOnly
)
:
public
getNumber( void )
: integer
public
setNumber( integer $number
)
:
public
getOnlyAlertOnce( void )
: boolean
public
setOnlyAlertOnce( boolean $onlyAlertOnce
)
:
public
getWhen( void )
: integer
Returns
integer
Timestamp in milliseconds
public
setWhen( integer $when
)
:
Parameters
$when
- Timestamp in milliseconds
Returns
$this
public
getShowWhen( void )
: boolean
public
setShowWhen( boolean $showWhen
)
:
public
getUsesChronometer( void )
: boolean
public
setUsesChronometer( boolean $usesChronometer
)
:
public
getVisibility( void )
: string
public
setVisibility( string $visibility
)
:
public
getLights( void )
: boolean|array
Returns
boolean|array
{color: string, on: integer, off: integer}
public
setLights( boolean|array $lights
)
:
Parameters
$lights
{color: string, on: integer, off: integer}
Returns
$this
public
getVibrate( void )
: boolean|integer[]
Returns
boolean|integer[]
public
setVibrate( boolean|integer[] $vibrate
)
:
public
getSound( void )
: boolean|string
public
setSound( boolean|string $sound
)
:
public
getOngoing( void )
: boolean
public
setOngoing( boolean $ongoing
)
:
public
getProgress( void )
: boolean|integer
public
setProgress( boolean|integer $progress
)
:
public
getSmallIcon( void )
: string
public
setSmallIcon( string $smallIcon
)
:
public
getLargeIcon( void )
: string
public
setLargeIcon( string $largeIcon
)
:
public
getBigTitle( void )
: string
Valid for types: bigText
, bigPicture
, inbox
.
Valid for types: bigText
, bigPicture
, inbox
.
Returns
string
public
setBigTitle( string $bigTitle
)
:
Valid for types: bigText
, bigPicture
, inbox
.
Valid for types: bigText
, bigPicture
, inbox
.
Parameters
Returns
$this
public
getBigText( void )
: string
Valid for types: bigText
.
Valid for types: bigText
.
Returns
string
public
setBigText( string $bigText
)
:
Valid for types: bigText
.
Valid for types: bigText
.
Parameters
Returns
$this
public
getSummaryText( void )
: string
Valid for types: bigText
, bigPicture
, inbox
.
Valid for types: bigText
, bigPicture
, inbox
.
Returns
string
public
setSummaryText( string $summaryText
)
:
Valid for types: bigText
, bigPicture
, inbox
.
Valid for types: bigText
, bigPicture
, inbox
.
Parameters
Returns
$this
public
getBigLargeIcon( void )
: string
Valid for types: bigPicture
.
Valid for types: bigPicture
.
Returns
string
public
setBigLargeIcon( string $bigLargeIcon
)
:
Valid for types: bigPicture
.
Valid for types: bigPicture
.
Parameters
Returns
$this
public
getBigPicture( void )
: string
Valid for types: bigPicture
.
Valid for types: bigPicture
.
Returns
string
public
setBigPicture( string $bigPicture
)
:
Valid for types: bigPicture
.
Valid for types: bigPicture
.
Parameters
Returns
$this
public
getLines( void )
: string[]
Valid for types: inbox
.
Returns
string[]
public
setLines( string[] $lines
)
:
Valid for types: inbox
.
Parameters
Returns
$this
getActions()
,
getAndroid()
,
getIos()
,
getReceiveActions()
,
getTargetUrl()
,
getText()
,
getTitle()
,
getWeb()
,
setActions()
,
setAndroid()
,
setIos()
,
setReceiveActions()
,
setTargetUrl()
,
setText()
,
setTitle()
,
setWeb()
__construct()
,
__toString()
,
_new()
,
clearAllFields()
,
deepClone()
,
jsonSerialize()
,
toArray()
,
toData()