PlayerConfig class

Constructors

PlayerConfig({bool isEnableCutout = true, bool isEnablePortrait = false, bool isEnableRotation = true, bool isForceMute = false, bool isIndustryIconShow = true, bool isSkipLinearAd = true})

Properties

hashCode int
The hash code for this object.
no setterinherited
isEnableCutout bool
Whether the player adapts to a notched screen.
getter/setter pair
isEnablePortrait bool
Whether the portrait mode is enabled.
getter/setter pair
isEnableRotation bool
Whether the landscape mode is enabled.
getter/setter pair
isForceMute bool
Whether the player is forcibly muted.
getter/setter pair
isIndustryIconShow bool
Whether the industry icon is displayed.
getter/setter pair
isSkipLinearAd bool
Whether a linear ad is skippable.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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