共用方式為


ACSViewLifecycleTelemetryEvent 類別

宣告

@interface ACSViewLifecycleTelemetryEvent : NSObject;

描述

方法

init

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

參數

  • viewId -

createForLocalStreamWithViewId

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

參數

  • viewId -
  • localStream -

傳回

  • ACSViewLifecycleTelemetryEvent *

createForRemoteStreamWithViewId

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

參數

  • viewId -
  • remoteStream -

傳回

  • ACSViewLifecycleTelemetryEvent *

sendCreateViewAttempt

-(void)sendCreateViewAttempt;

sendCreateViewSuccessWithWidth

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

參數

  • width -
  • height -

sendCreateViewFailed

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

參數

  • reason -

sendDisposeViewAttempt

-(void)sendDisposeViewAttempt;

sendDisposeViewSuccess

-(void)sendDisposeViewSuccess;

sendDisposeViewFailed

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

參數

  • reason -

屬性

viewId

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