event.type

Type String
Event notification
Revision Current Public Release (2017.3068)
Keywords notification, type

Overview

A string identifying the type of notification event:

Example

-- The launch arguments provide a notification event if this app was started when the user tapped on a notification
local launchArgs = ...

if ( launchArgs and launchArgs.notification ) then
    print( launchArgs.notification.type )
    print( launchArgs.notification.name )
    print( launchArgs.notification.sound )
    print( launchArgs.notification.alert )
    print( launchArgs.notification.badge )
    print( launchArgs.notification.applicationState )
end