Contents

environment(_:stateDidChangeFromOldState:)

Called when there has been a change in the environment.

Declaration

optional func environment(_ environment: LAEnvironment, stateDidChangeFromOldState oldState: LAEnvironment.State)

Parameters

  • oldState:

    The old environment state (before update)

Discussion

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