RBSDKRhinobirdPlayerViewController
@interface RBSDKRhinobirdPlayerViewController : RBSDKPlayerViewController
RBSDKRhinobirdPlayerViewController is the player controller for Rhinobird.
-
Creates an instance of a Rhinobird player controller with a Reel id provided by the dashboard.
Declaration
Objective-C
- (nonnull instancetype)initWithReelId:(nonnull NSString *)reelId options:(RBSDKPlayerOption)options delegate:(nonnull id)delegate;Swift
init(reelId: String, options: RBSDKPlayerOption, delegate: Any)Parameters
reelIdReel id.
optionsRBSDKPlayerOption configuration.
delegateController delegate.
Return Value
An instance of
RBSDKPlayerViewControllerwith a Reel. -
Creates an instance of a Rhinobird player controller with a Reel id provided by the dashboard.
Declaration
Objective-C
- (nonnull instancetype)initWithReelId:(nonnull NSString *)reelId startStreamAtPosition:(nonnull NSString *)startStreamAtPosition options:(RBSDKPlayerOption)options delegate:(nonnull id)delegate;Swift
init(reelId: String, startStreamAtPosition: String, options: RBSDKPlayerOption, delegate: Any)Parameters
reelIdReel id.
startStreamAtPositionPosition order of the stream to start the reel.
optionsRBSDKPlayerOption configuration.
delegateController delegate.
Return Value
An instance of
RBSDKPlayerViewControllerwith a Reel. -
Inserts a Reel (by it’s id) to the player controller (vertically added).
Note
There isn’t a limit on the amount of reels that you can add.
Declaration
Objective-C
- (void)addReelId:(nonnull NSString *)reelId;Swift
func addReelId(_ reelId: String)Parameters
reelIdReel id.
-
Creates an instance of a Rhinobird player controller with a collection id provided by the dashboard.
Declaration
Objective-C
- (nonnull instancetype)initWithCollectionId:(nonnull NSString *)collectionId options:(RBSDKPlayerOption)options delegate:(nonnull id)delegate;Swift
init(collectionId: String, options: RBSDKPlayerOption, delegate: Any)Parameters
collectionIdcollection id.
optionsRBSDKPlayerOption configuration.
delegateController delegate.
Return Value
An instance of
RBSDKPlayerViewControllerwith a Collection.
View on GitHub
RBSDKRhinobirdPlayerViewController Class Reference