MethodChannelShoplivePlayer class
An implementation of ShoplivePlayerPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- ShoplivePlayerPlatform
- MethodChannelShoplivePlayer
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addParameter(
{required String key, required String? value}) → void -
override
-
close(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
play(
{required ShopLivePlayerData data}) → void -
override
-
removeParameter(
{required String key}) → void -
override
-
setEndpoint(
{required String? endpoint}) → void -
override
-
setEnterPipModeOnBackPressed(
{required bool isEnterPipMode}) → void -
override
-
setMixWithOthers(
{required bool isMixAudio}) → void -
override
-
setMuteWhenPlayStart(
{required bool isMute}) → void -
override
-
override
-
override
-
showPreview(
{required ShopLivePlayerPreviewData data}) → void -
override
-
startPictureInPicture(
) → void -
override
-
stopPictureInPicture(
) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
useCloseButton(
{required bool canUse}) → void -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited