pub struct EventScreensharingAttach<'a> { /* private fields */ }
macos_13_0_0
and macOS only.Expand description
Screen Sharing has attached from a graphical session..
Implementations§
Source§impl<'a> EventScreensharingAttach<'a>
impl<'a> EventScreensharingAttach<'a>
Sourcepub fn source_address_type(&self) -> es_address_type_t
pub fn source_address_type(&self) -> es_address_type_t
Type of source address.
Sourcepub fn source_address(&self) -> &'a OsStr
pub fn source_address(&self) -> &'a OsStr
Optional. Source address of connection, or empty. Depending on the transport used, the source address may or may not be available.
Sourcepub fn viewer_appleid(&self) -> &'a OsStr
pub fn viewer_appleid(&self) -> &'a OsStr
Optional. For screen sharing initiated using an Apple ID (e.g., from Messages or FaceTime), this is the viewer’s (client’s) Apple ID. It is not necessarily the Apple ID that invited the screen sharing. Empty if unavailable.
Sourcepub fn authentication_type(&self) -> &'a OsStr
pub fn authentication_type(&self) -> &'a OsStr
Type of authentication.
Sourcepub fn authentication_username(&self) -> &'a OsStr
pub fn authentication_username(&self) -> &'a OsStr
Optional. Username used for authentication to Screen Sharing. NULL
if authentication type
doesn’t use an username (e.g. simple VNC password).
Sourcepub fn session_username(&self) -> &'a OsStr
pub fn session_username(&self) -> &'a OsStr
Optional. Username of the loginwindow session if available, NULL
otherwise.
Sourcepub fn existing_session(&self) -> bool
pub fn existing_session(&self) -> bool
True iff there was an existing user session.
Sourcepub fn graphical_session_id(&self) -> es_graphical_session_id_t
pub fn graphical_session_id(&self) -> es_graphical_session_id_t
Graphical session id of the screen shared.
Sourcepub fn source_address_std(&self) -> Option<IpAddr>
pub fn source_address_std(&self) -> Option<IpAddr>
Source address as an IpAddr
from the standard library, if possible.