Compartir a través de


LAContext.SetCredentialType(NSData, LACredentialType) Método

Definición

Intenta establecer la credencial type especificada en el especificado credentialy devuelve true si se ejecuta correctamente.

[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

Parámetros

credential
NSData

Se agregará.

Este parámetro puede ser null.

Devoluciones

Atributos

Se aplica a