CallControlEventHandler CallControlEventHandler CallControlEventHandler CallControlEventHandler CallControlEventHandler Delegate

Definition

Handles the AnswerRequested and AudioTransferRequested events.

public : delegate void CallControlEventHandler(CallControl sender)
struct CallControlEventHandler : winrt::Windows::Foundation::IUnknown
{
   CallControlEventHandler(std::nullptr_t = nullptr) noexcept;
   template <typename L> CallControlEventHandler(L lambda);
   template <typename F> CallControlEventHandler(F* function);
   template <typename O, typename M> CallControlEventHandler(O* object, M method);
   void operator()(winrt::Windows::Media::Devices::CallControl const& sender) const;
};
public delegate void CallControlEventHandler(CallControl sender)
Public Delegate Sub CallControlEventHandler(sender As CallControl)
var callControlEventHandler = function(sender) {

 /* Your code */

}
Parameters
sender
CallControl CallControl CallControl

The CallControl object that raised the event.

Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Media.Devices.CallControlContract (introduced v1)