CXCallDirectoryExtensionContext.Delegate Property

Definition

An instance of the CallKit.ICXCallDirectoryExtensionContextDelegate model class which acts as the class delegate.

[get: Foundation.Export("delegate", ObjCRuntime.ArgumentSemantic.Weak)]
[set: Foundation.Export("setDelegate:", ObjCRuntime.ArgumentSemantic.Weak)]
public virtual CallKit.ICXCallDirectoryExtensionContextDelegate Delegate { get; set; }
member this.Delegate : CallKit.ICXCallDirectoryExtensionContextDelegate with get, set

Property Value

ICXCallDirectoryExtensionContextDelegate

The instance of the CallKit.ICXCallDirectoryExtensionContextDelegate model class

Attributes

Remarks

The delegate instance assigned to this object will be used to handle events or provide data on demand to this class.

When setting the Delegate or WeakDelegate values events will be delivered to the specified instance instead of being delivered to the C#-style events

This is the strongly typed version of the object, developers should use the WeakDelegate property instead if they want to merely assign a class derived from NSObject that has been decorated with [Export] attributes.

Applies to