ShoplivePlayerPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • ShoplivePlayerPlatform
Implementers

Constructors

ShoplivePlayerPlatform()
Constructs a ShoplivePlayerPlatform.

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

addParameter({required String key, required String? value}) → void
close() → void
getPluginVersion() Future<String>
getSdkVersion() Future<String>
hidePreview() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
play({required ShopLivePlayerData data}) → void
removeParameter({required String key}) → void
sendCommandMessage({required String command, required Map<String, dynamic> payload}) → void
sendCustomActionResult({required String id, required bool success, required String message, required String popupStatus, required String alertType}) Future<void>
sendDownloadCouponResult({required String couponId, required bool success, required String message, required String popupStatus, required String alertType}) Future<void>
setEndpoint({required String? endpoint}) → void
setEnterPipModeOnBackPressed({required bool isEnterPipMode}) → void
setMixWithOthers({required bool isMixAudio}) → void
setMuteWhenPlayStart({required bool isMute}) → void
setNextActionOnHandleNavigation({required ShopLiveActionType type}) → void
setPreviewOption({required ShopLivePlayerPreviewData data}) → void
setShareScheme({required String shareSchemeUrl}) → void
showPreview({required String campaignKey}) → void
startPictureInPicture() → void
stopPictureInPicture() → void
toString() String
A string representation of this object.
inherited
useCloseButton({required bool canUse}) → void

Operators

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

Static Properties

instance ShoplivePlayerPlatform
The default instance of ShoplivePlayerPlatform to use.
getter/setter pair