TVIVideoDimensions Class Reference

Inherits from NSObject
Declared in TVIVideoDimensions.h

Overview

TVIVideoDimensions represents dimensions for a VideoTrack.

  width

The video width.

@property (nonatomic, assign) NSUInteger width

Declared In

TVIVideoDimensions.h

  height

The video height.

@property (nonatomic, assign) NSUInteger height

Declared In

TVIVideoDimensions.h

+ dimensionsWithWidth:height:

Creates an instance of TVIVideoDimensions.

+ (nonnull instancetype)dimensionsWithWidth:(NSUInteger)width height:(NSUInteger)height

Parameters

width

The video width.

height

The video height.

Return Value

An instance of TVIVideoDimensions.

Declared In

TVIVideoDimensions.h

– init

Developers shouldn’t initialize this class directly.

- (null_unspecified instancetype)init

Discussion

Use the class methods dimensionsWithWidth:height: instead.

Declared In

TVIVideoDimensions.h