Flutter Engine
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.

Definition at line 682 of file embedder.h.

Member Data Documentation

◆ hint

const char* FlutterSemanticsCustomAction::hint

The hint description of this custom semantics action.

Definition at line 693 of file embedder.h.

◆ id

int32_t FlutterSemanticsCustomAction::id

The unique custom action or action override ID.

Definition at line 686 of file embedder.h.

Referenced by flutter::testing::TEST_F().

◆ label

const char* FlutterSemanticsCustomAction::label

The user-readable name of this custom semantics action.

Definition at line 691 of file embedder.h.

◆ override_action

FlutterSemanticsAction FlutterSemanticsCustomAction::override_action

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

Definition at line 689 of file embedder.h.

◆ struct_size

size_t FlutterSemanticsCustomAction::struct_size

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

Definition at line 684 of file embedder.h.


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