LAContext.SetCredentialType(NSData, LACredentialType) Method

Definition

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

credential
NSData

To be added.

This parameter can be null.

Returns

Attributes

Applies to