Share via


IHMCameraStreamControlDelegate Interface

Definition

This interface represents the Objective-C protocol HMCameraStreamControlDelegate.

[Foundation.Protocol(Name="HMCameraStreamControlDelegate", WrapperType=typeof(HomeKit.HMCameraStreamControlDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStartStream", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(HomeKit.HMCameraStreamControl) }, Selector="cameraStreamControlDidStartStream:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStopStream", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(HomeKit.HMCameraStreamControl), typeof(Foundation.NSError) }, Selector="cameraStreamControl:didStopStreamWithError:")]
public interface IHMCameraStreamControlDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="HMCameraStreamControlDelegate", WrapperType=typeof(HomeKit.HMCameraStreamControlDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStartStream", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(HomeKit.HMCameraStreamControl) }, Selector="cameraStreamControlDidStartStream:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidStopStream", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(HomeKit.HMCameraStreamControl), typeof(Foundation.NSError) }, Selector="cameraStreamControl:didStopStreamWithError:")>]
type IHMCameraStreamControlDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DidStartStream(HMCameraStreamControl)

Called by the system when the cameraStreamControl successfully starts the video stream.

DidStopStream(HMCameraStreamControl, NSError)

Called by the system when the cameraStreamControl video stream stops.

Extension Methods

Name Description
DidStartStream(IHMCameraStreamControlDelegate, HMCameraStreamControl)

Called by the system when the cameraStreamControl successfully starts the video stream.

DidStopStream(IHMCameraStreamControlDelegate, HMCameraStreamControl, NSError)

Called by the system when the cameraStreamControl video stream stops.

GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to