Düzenle

Aracılığıyla paylaş


IHMAccessoryDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol HMAccessoryDelegate.

[Foundation.Protocol(Name="HMAccessoryDelegate", WrapperType=typeof(HomeKit.HMAccessoryDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IHMAccessoryDelegate : IDisposable, ObjCRuntime.INativeObject
type IHMAccessoryDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by HMAccessoryDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the HMAccessoryDelegate protocol.

Optional methods (if any) are provided by the HMAccessoryDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

DidAddProfile(IHMAccessoryDelegate, HMAccessory, HMAccessoryProfile)

Method that is called when profile was added to accessory.

DidRemoveProfile(IHMAccessoryDelegate, HMAccessory, HMAccessoryProfile)

Method that is called when profile was removed from accessory.

DidUpdateAssociatedServiceType(IHMAccessoryDelegate, HMAccessory, HMService)

The accessory updated the service type for service.

DidUpdateFirmwareVersion(IHMAccessoryDelegate, HMAccessory, String)

Method that is called when the firmware version of accessory is updated to firmwareVersion.

DidUpdateName(IHMAccessoryDelegate, HMAccessory)

The accessory updated its name.

DidUpdateNameForService(IHMAccessoryDelegate, HMAccessory, HMService)

The accessory updated the name of service.

DidUpdateReachability(IHMAccessoryDelegate, HMAccessory)

Delegate method called by the system when the accessory's network visibility has changed.

DidUpdateServices(IHMAccessoryDelegate, HMAccessory)

The accessory updated its services.

DidUpdateValueForCharacteristic(IHMAccessoryDelegate, HMAccessory, HMService, HMCharacteristic)

The accessory updated the value of characteristic on service.

Applies to