\FAA\Handler\PushNotifyAndroid

Summary

Methods
Properties
Constants
__construct()
AddExtra()
AddTarget()
Execute()
GetFormPreset()
GetSettings()
StoreSettings()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
loadLocalSettings()
$settings
$targets
$extra
$config_file
$preset_file
N/A

Properties

$settings

$settings :\stdClass

Store the local config Buffer the local configuration object

Type

\stdClass—Configuration object

$targets

$targets :

Type

$extra

$extra :

Type

$config_file

$config_file :

Type

$preset_file

$preset_file :

Type

Methods

__construct()

__construct()

construct construct the abstraction layer

AddExtra()

AddExtra(mixed  $extra): \FAA\Obj\Result

Add an extra target

Parameters

mixed $extra

The extra to send to device

Returns

\FAA\Obj\Result —

The operation status response

AddTarget()

AddTarget(string  $target): \FAA\Obj\Result

Add a target receiver

Parameters

string $target

The target device

Returns

\FAA\Obj\Result —

The operation status response

Execute()

Execute(string  $message,string  $title = '',integer  $priority,boolean|string  $sound = false): \FAA\Obj\Result

Take the message arguments and send the message to the targets

Parameters

string $message

The message text itself

string $title

The message title

integer $priority

The priority level

boolean|string $sound

Play a sound

Returns

\FAA\Obj\Result —

The operation status response

GetFormPreset()

GetFormPreset(): \FAA\Obj\Result

preset load the common pickup settings preset for generation a form

Returns

\FAA\Obj\Result —

$result A system result object

GetSettings()

GetSettings(): \FAA\Obj\Result

get load the common settings object

Returns

\FAA\Obj\Result —

$result A system result object

StoreSettings()

StoreSettings(\stdClass  $values): \FAA\Obj\Result

store store the settings object

Parameters

\stdClass $values

The configuration values

Returns

\FAA\Obj\Result —

$result A system result object

loadLocalSettings()

loadLocalSettings(): void

Settings getter load settings object from local storage