pub enum AccessibilityRequest {
Watch {
responder: AccessibilityWatchResponder,
},
Set {
settings: AccessibilitySettings,
responder: AccessibilitySetResponder,
},
}
Expand description
Modify or watch accessibility settings that are persisted.
Supported SettingsEpitaph enums: REQUEST_NOT_SUPPORTED, INTERNAL_SERVICE_ERROR, PERSISTENT_STORAGE_ERROR
Variants§
Watch
Fields
§
responder: AccessibilityWatchResponder
Gets the current value of all accessibility settings. Returns immediately on first call; subsequent calls return when any of the values change.
settings
all current values of the accessibility settings.
- see
AccessibilitySettings
for their meaning.
If this call fails, it is considered a fatal error and the channel will be closed.
Set
Sets AccessibilitySettings settings. Any field not explicitly set in the table performs a no-op, and will not make any changes.
Implementations§
source§impl AccessibilityRequest
impl AccessibilityRequest
pub fn into_watch(self) -> Option<AccessibilityWatchResponder>
pub fn into_set( self ) -> Option<(AccessibilitySettings, AccessibilitySetResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL