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§
Sourceunsafe fn environment_stateDidChangeFromOldState(
&self,
environment: &LAEnvironment,
old_state: &LAEnvironmentState,
)
Available on crate feature LAEnvironmentState
only.
unsafe fn environment_stateDidChangeFromOldState( &self, environment: &LAEnvironment, old_state: &LAEnvironmentState, )
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.state
already contains the new updated state.
Parameter oldState
: The old environment state (before update)