Property RequestedActions
RequestedActions
Gets a list of strings indicating the set of requested actions when a notification is delivered.
Declaration
public IList<string> RequestedActions { get; }
Property Value
Type | Description |
---|---|
IList<System.String> | A list of strings indicating the set of requested actions when a notification is delivered. |
Remarks
This property shows the full list of recommended actions that the Geotrigger author intends to be taken. Note that there is no requirement to take any action when a notification is delivered, but these provide a way to understand the Geotrigger author's intention. Use this property to:
- Display the expected behavior of a Geotrigger to the user, prior to monitoring.
- Check that your app supports the expected actions for the Geotrigger.
This list of strings shows the full set of recommended actions for any notifications from this Geotrigger. Individual GeotriggerNotificationInfo events may include a subset of these actions. The specific actions for an individual notification event (for example, when a given fence is entered) are shown in Actions. To populate the list of actions for a notification, the MessageExpression must return a dictionary with the key "actions", and a value showing the list of action strings.
The list of actions are simple strings, so you can use them to control any custom action you wish your app to perform.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 100.15 |
.NET 6.0 | 100.14 - 100.15 |
.NET 6.0 Windows | 100.14 - 100.15 |
.NET Framework | 100.14 - 100.15 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 100.15 |