PlayService class

Constructors

PlayService()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateAndroidParams(Datum content, PackageModel packageModel, {bool isLive = false}) → dynamic
generateiOSParams(Datum content, PackageModel packageModel, {bool isLive = false}) → dynamic
generatePlayUrl({required Datum content, required PackageModel packageModel, required PlayState playState}) Future<String>
generateWebParams(Datum content, PackageModel packageModel, {required bool isDrm, required PlayState playState, bool isLive = false}) → dynamic
getIpAddress() Future<String?>
getPlatformMedia(Datum content) Future<Contentdetail>
getPlaySecurityText() Future<String>
initBuyNow({required BuildContext context, required PlayState playState, required Datum content, required Function onLoadCallback, bool isContinueWatchingItemClicked = false}) → void
isMpegtspackage() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onPaymentMade(dynamic response, dynamic context) → dynamic
onPlayClick({required BuildContext context, required PlayState playState, required Datum content, required Function onLoadCallback, required String loginPageUrl, required String plansPageUrl, bool isContinueWatchingItemClicked = false, String? pageName}) → dynamic
showWebPlayer(BuildContext context, String playerUrl, Datum content, String defaultPosterUrl) → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited