ACSViewLifecycleTelemetryEvent 類別
宣告
@interface ACSViewLifecycleTelemetryEvent : NSObject;
描述
方法
init
-(instancetype)init:(NSUUID *)viewId;
參數
createForLocalStreamWithViewId
+(ACSViewLifecycleTelemetryEvent *)createForLocalStreamWithViewId:(NSUUID *)viewId localStream:(ACSLocalVideoStream *)localStream;
參數
傳回
ACSViewLifecycleTelemetryEvent *
createForRemoteStreamWithViewId
+(ACSViewLifecycleTelemetryEvent *)createForRemoteStreamWithViewId:(NSUUID *)viewId remoteStream:(ACSRemoteVideoStream *)remoteStream;
參數
傳回
ACSViewLifecycleTelemetryEvent *
sendCreateViewAttempt
-(void)sendCreateViewAttempt;
sendCreateViewSuccessWithWidth
-(void)sendCreateViewSuccessWithWidth:(int)width height:(int)height;
參數
sendCreateViewFailed
-(void)sendCreateViewFailed:(NSString *)reason;
參數
sendDisposeViewAttempt
-(void)sendDisposeViewAttempt;
sendDisposeViewSuccess
-(void)sendDisposeViewSuccess;
sendDisposeViewFailed
-(void)sendDisposeViewFailed:(NSString *)reason;
參數
屬性
viewId
@property (retain, nonnull, readonly) NSUUID *viewId;