Shaka Player Embedded
|
#import <ShakaPlayerView.h>
Instance Methods | |
(instancetype) | - initWithFrame: |
(instancetype) | - initWithCoder: |
(instancetype) | - initWithPlayer: |
(void) | - setVideoGravity: |
Properties | |
ShakaPlayer * | player |
A view that displays the video frames from an ShakaPlayer object.
Definition at line 32 of file ShakaPlayerView.h.
- (instancetype) initWithCoder: | (NSCoder *) | coder |
Definition at line 74 of file ShakaPlayerView.mm.
- (instancetype) initWithFrame: | (CGRect) | frame |
Definition at line 67 of file ShakaPlayerView.mm.
- (instancetype) initWithPlayer: | (nullable ShakaPlayer *) | player |
- (void) setVideoGravity: | (AVLayerVideoGravity) | videoGravity |
Sets how to resize the video frame within the view.
Definition at line 145 of file ShakaPlayerView.mm.
|
readwriteatomicassign |
Gets/sets the ShakaPlayer instance to draw.
Definition at line 40 of file ShakaPlayerView.h.