Skip to main content

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.

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

Instance memberDeviceAppActions()

Initializes a new instance of DeviceAppActions.

Methods

Instance memberGet()

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.

Instance memberSet(appActions)

Sets the app actions for the application.

ParameterTypeDescription
appActionsAppAction[]An array of AppAction objects to be set as the current app actions.