TVOPreflightTest Class Reference

Inherits from NSObject
Declared in TVOPreflight.h

Properties

  status

The current state of the preflight test.

@property (nonatomic, assign, readonly) TVOPreflightTestStatus status

Declared In

TVOPreflight.h

  callSid

The call SID for the preflight test call.

@property (nonatomic, strong, readonly, nonnull) NSString *callSid

Declared In

TVOPreflight.h

  startTime

Preflight test start time. Unix timestamp in milliseconds.

@property (nonatomic, assign, readonly) CFTimeInterval startTime

Declared In

TVOPreflight.h

  endTime

Preflight test end time. Unix timestamp in milliseconds.

@property (nonatomic, assign, readonly) CFTimeInterval endTime

Declared In

TVOPreflight.h

  preflightReport

The preflight test report.

@property (nonatomic, strong, readonly, nullable) TVOPreflightReport *preflightReport

Discussion

If accessed when the preflight status is anything other than TVOPreflightTestStatusCompleted, an empty report object will be returned.

Declared In

TVOPreflight.h

  latestSample

Returns the latest stats sample for the preflight test.

@property (nonatomic, strong, readonly, nullable) TVOPreflightStatsSample *latestSample

Declared In

TVOPreflight.h

Preflight Test Actions

– stop

Stops the ongoing preflight test. This will result in preflight test to be in TVOPreflightTestStatusFailed state.

- (void)stop

Declared In

TVOPreflight.h