LockAndWipeManager

public class LockAndWipeManager : LockAndWipeManaging

The default implementation of LockAndWipeManaging protocol. This class manages LockAndWipeEvents

  • The Singleton instance of the LockAndWipeManager class.

    Declaration

    Swift

    public static let shared: LockAndWipeManager
  • Undocumented

    Declaration

    Swift

    public init()
  • dispatches wipe event to observers

    Declaration

    Swift

    public func wipe() async
  • dispatches lock event to observers

    Declaration

    Swift

    public func lock() async
  • Registers the given LockAndWipeEventObserving

    Declaration

    Swift

    public func register(_ LockandWipeEventObserver: LockAndWipeEventObserving)

    Parameters

    LockandWipeEventObserver

    the observer to be registered

  • Unregisters the given LockAndWipeEventObserving

    Declaration

    Swift

    public func unregister(_ LockandWipeEventObserver: LockAndWipeEventObserving)

    Parameters

    LockandWipeEventObserver

    the observer to be removed