Instance Method

getState(_:)

Gets the state of the credential identity store.

Declaration

func getState(_ completion: @escaping (ASCredentialIdentityStoreState) -> Void)

Parameters

completion

A block the method calls to return the current identity store state.

Discussion

Call this method to find out the current state of the store before attempting to call other store methods. Examine the ASCredentialIdentityStoreState value passed to your completion handler to find out whether the store is enabled and whether it supports incremental updates.

See Also

Checking the State of the Store

class ASCredentialIdentityStoreState

A representation of the state of a credential identity store.