DeviceAppActions
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid
Manages application actions, such as shortcuts to specific parts of the application. This class provides methods to retrieve and set app actions, which can be used for quick access.
- C#
- VB.NET
public class DeviceAppActions
Public Class DeviceAppActions
Access this class through the Device singleton. Use of this class requires additional setup. See: https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/appmodel/app-actions for more details.
Constructors
DeviceAppActions()
Initializes a new instance of DeviceAppActions.
Methods
Get()
Retrieves the current set of app actions supported by the application.
Returns: AppAction[]. An array of AppAction objects representing the app actions currently available for the application.
Set(appActions)
Sets the app actions for the application.
| Parameter | Type | Description |
|---|---|---|
| appActions | AppAction[] | An array of AppAction objects to be set as the current app actions. |