Trait LAEnvironmentObserver

Source
pub unsafe trait LAEnvironmentObserver: NSObjectProtocol {
    // Provided method
    unsafe fn environment_stateDidChangeFromOldState(
        &self,
        environment: &LAEnvironment,
        old_state: &LAEnvironmentState,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature LAEnvironment only.
Expand description

Provided Methods§

Source

unsafe fn environment_stateDidChangeFromOldState( &self, environment: &LAEnvironment, old_state: &LAEnvironmentState, )
where Self: Sized + Message,

Available on crate feature LAEnvironmentState only.

Called when there has been a change in the environment.

Invoked on a queue private to LocalAuthentication framework. At the moment of invocation of this method, LAEnvironment.statealready contains the new updated state.

Parameter oldState: The old environment state (before update)

Trait Implementations§

Source§

impl ProtocolType for dyn LAEnvironmentObserver

Source§

const NAME: &'static str = "LAEnvironmentObserver"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn LAEnvironmentObserver

Implementations on Foreign Types§

Source§

impl<T> LAEnvironmentObserver for ProtocolObject<T>

Implementors§