#include <accessibility_plugin.h>
Definition at line 21 of file accessibility_plugin.h.
◆ AccessibilityPlugin()
◆ Announce()
void flutter::AccessibilityPlugin::Announce |
( |
const std::string_view |
message | ) |
|
|
virtual |
Definition at line 92 of file accessibility_plugin.cc.
92 {
94 return;
95 }
96
97
98
100 if (!view) {
101 return;
102 }
103
105 view->AnnounceAlert(wide_text);
106}
FlutterWindowsView * view(FlutterViewId view_id) const
bool semantics_enabled() const
constexpr FlutterViewId kImplicitViewId
std::wstring Utf8ToWideString(const std::string_view str)
◆ SetUp()
Definition at line 76 of file accessibility_plugin.cc.
77 {
80
81 channel.SetMessageHandler(
82 [plugin](
const EncodableValue&
message,
83 const MessageReply<EncodableValue>& reply) {
85
86
87
88 reply(EncodableValue{std::monostate{}});
89 });
90}
static const StandardMessageCodec & GetInstance(const StandardCodecSerializer *serializer=nullptr)
static constexpr char kAccessibilityChannelName[]
The documentation for this class was generated from the following files: