pub async fn read_session_accessibility() -> AtspiResult<bool>Expand description
Read the IsEnabled accessibility status property on the session bus.
§Examples
let status = atspi_connection::read_session_accessibility().await;
// The status is either true or false
assert!(status.is_ok());§Errors
- If no connection with the session bus could be established.
- If creation of a
atspi_proxies::bus::StatusProxyfails. - If the
IsEnabledproperty cannot be read.