ACSViewLifecycleTelemetryEvent Class

Declaration

@interface ACSViewLifecycleTelemetryEvent : NSObject;

Description

Methods

init

-(instancetype)init:(NSUUID *)viewId;

Parameters

  • viewId -

createForLocalStreamWithViewId

+(ACSViewLifecycleTelemetryEvent *)createForLocalStreamWithViewId:(NSUUID *)viewId localStream:(ACSLocalVideoStream *)localStream;

Parameters

  • viewId -
  • localStream -

Returns

  • ACSViewLifecycleTelemetryEvent *

createForRemoteStreamWithViewId

+(ACSViewLifecycleTelemetryEvent *)createForRemoteStreamWithViewId:(NSUUID *)viewId remoteStream:(ACSRemoteVideoStream *)remoteStream;

Parameters

  • viewId -
  • remoteStream -

Returns

  • ACSViewLifecycleTelemetryEvent *

sendCreateViewAttempt

-(void)sendCreateViewAttempt;

sendCreateViewSuccessWithWidth

-(void)sendCreateViewSuccessWithWidth:(int)width height:(int)height;

Parameters

  • width -
  • height -

sendCreateViewFailed

-(void)sendCreateViewFailed:(NSString *)reason;

Parameters

  • reason -

sendDisposeViewAttempt

-(void)sendDisposeViewAttempt;

sendDisposeViewSuccess

-(void)sendDisposeViewSuccess;

sendDisposeViewFailed

-(void)sendDisposeViewFailed:(NSString *)reason;

Parameters

  • reason -

Properties

viewId

@property (retain, nonnull, readonly) NSUUID *viewId;