Contents
Display Legacy Contents

 Print
    Push Notification Get Message  
Retrieves the content of a push notification message.
This can only be called inside the "Push Notification Received" event of the form, and is used to retrieve the content of the message that was just received, while your application is being executed.

Parameters

Target From string
The control or variable where to save the sender of this message.

Display Notification
Specifies if wheter the notification should be displayed by the Operating System to the user.

it can be one of:

  • 1 - Yes
  • Displays the notification

  • 2 - No
  • Doesn't display the notification

Windows
    Target Notification Type string
    The control or variable where to save the type of notification message received. For more information on this check MSDN documentation on push notifications.

    it can be one of:

    • 0 - Toast
    • 1 - Tile
    • 2 - Badge
    • 3 - Raw
    • 4 - TileFlyout


    Target Notification Content string
    The control or variable where to save the sender of this message.


Android
Android notification messages have a name/value pairs list. You can retrieve the items you need from that list by adding items to the list bellow.
    Name string
    The control or variable where to save the sender of this message.

    Type
    The type of value that is in this property.

    It can be one of:

    • 1 - Int
    • 2 - Long
    • 3 - Short
    • 4 - Boolean
    • 5 - Float
    • 6 - Double
    • 10 - Bundle
    • 101 - String
    • 102 - CharSequence
    • 103 - Char
    • 104 - Byte

    Target string
    The control or variable where to save the sender of this message.


     
  • The format of the push notifications are platform dependent, and that is why there are separate options to handle the message for Android and Windows 10.
  • The content of the message itself and the list/type of values sent in the case of Android, are defined by the sender of the message, so if you need to manually handle the content of the messages, you need to know how the server/backoffice system is sending these messages.
  • This can only be used to handle messages received while your application is running. If a message is received and your application is not running, the O.S. will make the appropriate display of the message, and if you enabled the "Save messages when application is not active" option in your project properties, it will be saved locally on the device. You can use "Push Notification ... Lost ..." actions to retrieve the messages that where received while your application was not active.
  • On iOS the target "From" is not available. 

See also
Synchronize
Update Project
Translate Internal Text
Set Comm. Profile Parameter
Get Comm. Profile Parameter
Set Synchro.Parameter
Get Synchro.Parameter
Set Synchronization File Copy
Bluetooth Start Device Discovery
Bluetooth Stop Device Discovery
Bluetooth Is Device Paired
Bluetooth Pair Device
Bluetooth Unpair Device
Bluetooth Connect Headset
Bluetooth Disconnect Headset
Bluetooth LE Start Scanning
Bluetooth LE Stop Scanning
Bluetooth LE Connect to Device
Bluetooth LE Disconnect from Device
Bluetooth LE Service Get List
Bluetooth LE Characteristic Get List
Bluetooth LE Characteristic Write
Bluetooth LE Characteristic Read
Bluetooth LE Descriptor Get List
Bluetooth LE Descriptor Write
Bluetooth LE Descriptor Read
Beacon Scanner Initialize
Beacon Scanner Uninitialize
Beacon Scanner Start Monitoring
Beacon Scanner Stop Monitoring
Beacon Scanner Start Ranging
Beacon Scanner Stop Ranging
Activate Connection
Is Connection Active
Deactivate Connection
Serial Open
Serial Write
Serial Read
Serial Flush
Serial Close
Socket Connect
Socket Write
Socket Read
Socket Close
Socket Accept
Ping
Activate Monitor
Deactivate Monitor
Web Service Run
XML Get Child Element
XML Get Child Element List
XML Get Element Attribute
XML Get Element Content
XML Get Element’s Attribute List
XML Get Elements Name
XML Get Root Element
XML Get Root Element List
HTTP Request
XML Export from Table
XML Import to Table
JSON Get Value
JSON Get Array Item
JSON Get Array Item Count
JSON Get Name List
JSON Import to Table
JSON Export from Table
FTP Connect
FTP Set Current Dir
FTP Get File
FTP Put File
FTP File Exists
FTP Disconnect
FTP Create Dir
FTP Delete File/Folder
FTP Rename File
FTP List Files
Run Process on PC
Send File to PC
Get File from PC
List Files from PC
Kill Process on PC
Is Process Running on PC
Activate MIS Remote Controller
Stop MIS Remote Controller
Ping MIS Communicator
Get MIS Communicator Server Info
Shell Execute On Pc
Validade Active Directory Credentials On PC
Hardlock List Keys
Hardlock Read
Hardlock Write
Hardlock Check license
Push Notification Get Client ID
Push Notification Get Lost Message ID List
Push Notification Get Lost Message
Push Notification Delete Lost Message
Make Phone Call
SMS Send Message
Get SMS Verification Code
Get Cell Tower Info
Samples

 
 
Updated : 3/26/2018 6:00 PM