AppAction

Wisej.Hybrid.Shared.AppActions.AppAction

Namespace: Wisej.Hybrid.Shared.AppActions

Assembly: Wisej.Hybrid (3.5.0.0)

App Actions allow you to define and expose specific actions or tasks that users can perform within your mobile app, which can be triggered from various entry points, such as the app's launcher icon.

public class AppAction

Constructors

Initializes a new instance of AppAction.

Initializes a new instance of AppAction with the given arguments.

NameTypeDescription

id

A unique identifier used to respond to the action tap.

title

The visible title to display on the app icon.

subtitle

If supported, a sub-title to display under the title.

icon

An icon that is shown next to the title.

Throws:

Properties

String: Gets or sets the action icon.

The icon must be included in a ResourceDictionary on the client app. See: https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/appmodel/app-actions#more-information-about-app-actions.

String: Gets or sets the unique identifier used to respond to the action tap.

String: Gets or sets a sub-title to display under the Microsoft.Maui.ApplicationModel.StartupAction.Title.

Not supported on all platforms.

String: Gets or sets the visible title to display on the app icon.

Last updated