DeviceLocalNotification

Wisej.Hybrid.DeviceLocalNotification

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (3.5.0.0)

Provides methods to schedule and handle local notifications on the device.

public class DeviceLocalNotification

Access this class through the Device singleton.

Constructors

DeviceLocalNotification()

Creates a new instance of DeviceLocalNotification.

Methods

Schedule(title, body, dateTime, badge)

Schedules a local notification to be delivered at the specified date and time.

Parameter
Type
Description

title

The title of the local notification.

body

The body text of the local notification.

dateTime

The date and time when the notification should be delivered.

badge

An optional badge number to display on the app's icon (-1 for no badge).

Events

Presented

EventHandler<Object> Occurs when a local notification is presented to the user while the app is running.

Responded

EventHandler<Object> Occurs when the user responds to a local notification while the app is running.

Last updated