FileAccess Orion

Android
in package
implements PushSender

Interfaces, Classes, Traits and Enums

PushSender

Table of Contents

$config_file  : mixed
$extra  : mixed
$preset_file  : mixed
$settings  : stdClass
Store the local config Buffer the local configuration object
$targets  : mixed
__construct()  : mixed
construct construct the abstraction layer
AddExtra()  : Result
Add an extra target
AddTarget()  : Result
Add a target receiver
Execute()  : Result
Take the message arguments and send the message to the targets
GetFormPreset()  : Result
preset load the common pickup settings preset for generation a form
GetSettings()  : Result
get load the common settings object
StoreSettings()  : Result
store store the settings object
loadLocalSettings()  : void
Settings getter load settings object from local storage

Properties

$config_file

private mixed $config_file = 'push_sender.android.json'

$preset_file

private mixed $preset_file = FAA_PATHS_LIBABS . 'handler/pushnotify/android_setup.json'

$settings

Store the local config Buffer the local configuration object

private stdClass $settings = null

Configuration object

$targets

private mixed $targets = array()

Methods

__construct()

construct construct the abstraction layer

public __construct() : mixed
Return values
mixed

AddExtra()

Add an extra target

public AddExtra(mixed $extra) : Result
Parameters
$extra : mixed

The extra to send to device

Return values
Result

The operation status response

AddTarget()

Add a target receiver

public AddTarget(string $target) : Result
Parameters
$target : string

The target device

Return values
Result

The operation status response

Execute()

Take the message arguments and send the message to the targets

public Execute(string $message[, string $title = '' ], int $priority[, bool|string $sound = false ]) : Result
Parameters
$message : string

The message text itself

$title : string = ''

The message title

$priority : int

The priority level

$sound : bool|string = false

Play a sound

Return values
Result

The operation status response

GetFormPreset()

preset load the common pickup settings preset for generation a form

public GetFormPreset() : Result
Return values
Result

$result A system result object

GetSettings()

get load the common settings object

public GetSettings() : Result
Return values
Result

$result A system result object

StoreSettings()

store store the settings object

public StoreSettings(stdClass $values) : Result
Parameters
$values : stdClass

The configuration values

Return values
Result

$result A system result object

loadLocalSettings()

Settings getter load settings object from local storage

private loadLocalSettings() : void
Return values
void

Search results