Classes
The following classes are available globally.
-
This is config class for optional player control features.. Use FPPlayerControlConfigBuilder to create a config object.
See moreDeclaration
Swift
@objc @objcMembers public class FPPlayerControlConfig : NSObject
-
This is a builder for creating a config class for optional player control features.
See moreDeclaration
Swift
@objc @objcMembers public class FPPlayerControlConfigBuilder : NSObject
-
Error indicating that a valid access token has not been provided.
Declaration
Swift
@objc @objcMembers public class FPAccessTokenValidationError : FPError
-
Error related to ad playback.
Declaration
Swift
@objc @objcMembers public class FPAdError : FPError
-
Error that’s caused by the built-in player controls.
Declaration
Swift
@objc @objcMembers public class FPBuiltInControlError : FPError
-
Base class of all Flowplayer errors.
See moreDeclaration
Swift
@objc @objcMembers public class FPError : NSObject, LocalizedError
-
Error related to Flowplayer’s config.
Declaration
Swift
@objc @objcMembers public class FPFlowplayerConfigError : FPError
-
Error related to content playback.
Declaration
Swift
@objc @objcMembers public class FPPlaybackError : FPError
-
An unknown error has occurred. This should happen and if you received an error of this type, please contact our support team.
Declaration
Swift
@objc @objcMembers public class FPUnknownError : FPError
-
Payload of an ad break complete event.
Declaration
Swift
@objc @objcMembers public class FPAdBreakCompleteEvent : FPEvent
-
Payload of an ad break start event.
Declaration
Swift
@objc @objcMembers public class FPAdBreakStartEvent : FPEvent
-
Payload of an ad click event.
Declaration
Swift
@objc @objcMembers public class FPAdClickEvent : FPEvent
-
Payload of an ad complete event.
Declaration
Swift
@objc @objcMembers public class FPAdCompleteEvent : FPEvent
-
Payload of an ad pause event.
Declaration
Swift
@objc @objcMembers public class FPAdPauseEvent : FPEvent
-
Payload of an ad resume event.
Declaration
Swift
@objc @objcMembers public class FPAdResumeEvent : FPEvent
-
Payload of an ad skip event.
Declaration
Swift
@objc @objcMembers public class FPAdSkipEvent : FPEvent
-
Payload of an ad start event.
Declaration
Swift
@objc @objcMembers public class FPAdStartEvent : FPEvent
-
Base class for all the events to override.
See moreDeclaration
Swift
@objc @objcMembers public class FPEvent : NSObject
-
A video with a media url and optionally an ad schedule.
See moreDeclaration
Swift
@objc @objcMembers public class FPExternalMedia : NSObject, FPMedia
-
A Flowplayer video has a mediaId and a playerId. Preparing the player with such a video, will fetch a Flowplayer config that contains all the relevant information for the playback to start.
See moreDeclaration
Swift
@objc @objcMembers public class FPFlowplayerMedia : NSObject, FPMedia
-
An ad break consisting of one or more ads and an indication of the point in time when it should start. Ad breaks that are marked as Roll.pre or Roll.post can only contain one ad. In order to have multiple ads during an ad break, an offset needs to be past. This class provides two different constructors to enforce the above fact.
See moreDeclaration
Swift
@objc @objcMembers public class FPAdBreak : NSObject
-
Represends an ad schedule that can be either an ad schedule remote url (eg. to a VMAP file) or a list of FPAdBreak objects.
See moreDeclaration
Swift
@objc @objcMembers public class FPAdSchedule : NSObject
-
This is the actual player. Add it to your UIView or UIViewController similar to any other UIViewController. Initialize and control the playback by using its public API.
See moreDeclaration
Swift
@objc @objcMembers public class FPFlowplayerViewController : UIViewController, FPFlowplayer, FPPlayerControlErrorDelegate