THEOplayerNativeDebugFlagsAPI class
Host API: Dart → Native calls for debug flag management.
Constructors
- THEOplayerNativeDebugFlagsAPI({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
-
Constructor for THEOplayerNativeDebugFlagsAPI. The
binaryMessengernamed argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pigeonVar_binaryMessenger → BinaryMessenger?
-
final
- pigeonVar_messageChannelSuffix → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disableAll(
) → Future< void> - Disable all flags.
-
disableFlag(
String key) → Future< void> - Disable a flag by key.
-
enableAll(
) → Future< void> - Enable all flags.
-
enableFileLogging(
) → Future< void> - Enable OS log + file logging at runtime (iOS only, no-op on Android).
-
enableFlag(
String key) → Future< void> - Enable a flag by key.
-
getAvailableFlags(
) → Future< List< DebugFlagPigeon> > - Returns all available debug flags with their current state.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetAll(
) → Future< void> - Reset all flags to their compile-time defaults.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
pigeonChannelCodec
→ const MessageCodec<
Object?>