Shaka Player Embedded
Instance Methods | Properties | List of all members
ShakaPlayerView Class Reference

#import <ShakaPlayerView.h>

Inheritance diagram for ShakaPlayerView:

Instance Methods

(instancetype) - initWithFrame:
 
(instancetype) - initWithCoder:
 
(instancetype) - initWithPlayer:
 
(void) - setVideoGravity:
 

Properties

ShakaPlayerplayer
 

Detailed Description

A view that displays the video frames from an ShakaPlayer object.

Definition at line 32 of file ShakaPlayerView.h.

Method Documentation

§ initWithCoder:()

- (instancetype) initWithCoder: (NSCoder *)  coder

Definition at line 74 of file ShakaPlayerView.mm.

§ initWithFrame:()

- (instancetype) initWithFrame: (CGRect)  frame

Definition at line 67 of file ShakaPlayerView.mm.

§ initWithPlayer:()

- (instancetype) initWithPlayer: (nullable ShakaPlayer *)  player

§ setVideoGravity:()

- (void) setVideoGravity: (AVLayerVideoGravity)  videoGravity

Sets how to resize the video frame within the view.

Definition at line 145 of file ShakaPlayerView.mm.

Property Documentation

§ player

- (ShakaPlayer *) player
readwriteatomicassign

Gets/sets the ShakaPlayer instance to draw.

Definition at line 40 of file ShakaPlayerView.h.


The documentation for this class was generated from the following files: