AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

¡Nueva funcionalidad de WINDEV Mobile 2024!
Ayuda / WLanguage / Funciones WLanguage / Funciones específicas para móviles / Funciones de teléfono
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds a notification to the system bar (Android) or notification center (iOS).
Android Example:
Then, the notification can be expanded to display its details.
From Android 4.1 (Jelly Bean, API level 16), additional actions can be associated with a notification. These actions are represented as buttons located below the message of the notification.
Example of notification with two additional actions, "Respond" and "Delete":
Additional notifications are implemented via the AdditionalAction property of the Notification variable.
From Android 8.0 (Oreo, API level 26), all notifications created by an Android application must be associated with a notification category (also known as "channel"). The notification categories are defined by the Category property of Notification variables.
iPhone/iPad The notification will be visible in the notification center only if the application is in background (for example, using the position tracking in background with geoTrackingEnable).
Example
notif is Notification
notif.Title = "New incoming message"
notif.Message = "Click here to display the message"
notif.Add()
Syntax
<Result> = <Notification>.Add()
<Result>: Boolean
  • True if the notification was added,
  • False otherwise.
Remark: In the simulator, this function has no effect and it always returns False.
<Notification>: Notification variable
Name of the Notification variable containing the description of the notification to display.
If this parameters corresponds to a notification that is already added, this notification will be updated. In this case, <Notification variable>.Add and <Notification variable>.Modify have the same effect.
Business / UI classification: Business Logic
Component: wd290android.aar
Versión mínima requerida
  • Versión 2024
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 07/03/2024

Señalar un error o enviar una sugerencia | Ayuda local