Bearbeiten

Freigeben über


HMCameraStreamControlDelegate_Extensions Class

Definition

Extension methods to the IHMCameraStreamControlDelegate interface to support all the methods from the HMCameraStreamControlDelegate protocol.

public static class HMCameraStreamControlDelegate_Extensions
type HMCameraStreamControlDelegate_Extensions = class
Inheritance
HMCameraStreamControlDelegate_Extensions

Remarks

The extension methods for IHMCameraStreamControlDelegate allow developers to treat instances of the interface as having all the optional methods of the original HMCameraStreamControlDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

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.

Applies to