Compartir a través de


HMCharacteristic.UpdateAuthorizationData Método

Definición

Novedades los datos de autorización mediante data y se ejecuta completion una vez finalizado.

[Foundation.Export("updateAuthorizationData:completionHandler:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UpdateAuthorizationData (Foundation.NSData data, Action<Foundation.NSError> completion);
abstract member UpdateAuthorizationData : Foundation.NSData * Action<Foundation.NSError> -> unit
override this.UpdateAuthorizationData : Foundation.NSData * Action<Foundation.NSError> -> unit

Parámetros

data
NSData
completion
Action<NSError>

Controlador que devuelve null correcto o un objeto de error en caso de error.

Atributos

Se aplica a