LAContext.SetCredentialType(NSData, LACredentialType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to set the specified credential type
to the specified credential
, and returns true
if it succeeds.
[Foundation.Export("setCredential:type:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool SetCredentialType (Foundation.NSData credential, LocalAuthentication.LACredentialType type);
abstract member SetCredentialType : Foundation.NSData * LocalAuthentication.LACredentialType -> bool
override this.SetCredentialType : Foundation.NSData * LocalAuthentication.LACredentialType -> bool
Parameters
- type
- LACredentialType
Returns
- Attributes