YouTubeOpenVideoAction class

An action to open a specific video in the YouTube app.

This class extends YouTube and implements multiple interfaces to provide comprehensive functionality for opening videos with fallback support.

Inheritance
Implemented types

Constructors

YouTubeOpenVideoAction({required String videoId, required bool fallbackToStore})
Creates a new YouTubeOpenVideoAction instance.

Properties

androidPackageName String
The Android package name for the YouTube app.
no setterinherited
customScheme String
The custom URL scheme for the YouTube app.
no setterinherited
The fallback URL for opening the specified video in a web browser.
no setteroverride
fallbackToStore bool
Whether to automatically redirect to app stores when the YouTube app is not installed.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
macosBundleIdentifier String?
The MacOS bundle identifier for the YouTube app.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storeActions List<StoreOpenAppPageAction>
A list of actions to open the YouTube app's page in various app stores.
no setterinherited
supportedPlatforms List<PlatformType>
The platforms that the YouTube app supports.
no setterinherited
The universal link URL for opening the specified video in the YouTube app.
no setteroverride
videoId String
The ID of the video to open.
final
website Uri
The web URL for YouTube.
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