Flutter Engine
The Flutter Engine
Public Attributes | List of all members
FlutterSemanticsCustomAction Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of the struct. Must be sizeof(FlutterSemanticsCustomAction). More...
 
int32_t id
 The unique custom action or action override ID. More...
 
FlutterSemanticsAction override_action
 
const char * label
 The user-readable name of this custom semantics action. More...
 
const char * hint
 The hint description of this custom semantics action. More...
 

Detailed Description

A custom semantics action, or action override.

Custom actions can be registered by applications in order to provide semantic actions other than the standard actions available through the FlutterSemanticsAction enum.

Action overrides are custom actions that the application developer requests to be used in place of the standard actions in the FlutterSemanticsAction enum.

Deprecated:
Use FlutterSemanticsCustomAction2 instead. In order to preserve ABI compatility for existing users, no new fields will be added to this struct. New fields will continue to be added to FlutterSemanticsCustomAction2.

Definition at line 1445 of file embedder.h.

Member Data Documentation

◆ hint

const char* FlutterSemanticsCustomAction::hint

The hint description of this custom semantics action.

Definition at line 1456 of file embedder.h.

◆ id

int32_t FlutterSemanticsCustomAction::id

The unique custom action or action override ID.

Definition at line 1449 of file embedder.h.

◆ label

const char* FlutterSemanticsCustomAction::label

The user-readable name of this custom semantics action.

Definition at line 1454 of file embedder.h.

◆ override_action

FlutterSemanticsAction FlutterSemanticsCustomAction::override_action

For overridden standard actions, corresponds to the FlutterSemanticsAction to override.

Definition at line 1452 of file embedder.h.

◆ struct_size

size_t FlutterSemanticsCustomAction::struct_size

The size of the struct. Must be sizeof(FlutterSemanticsCustomAction).

Definition at line 1447 of file embedder.h.


The documentation for this struct was generated from the following file: