GetStationContentRequest class
- Annotations
Constructors
-
GetStationContentRequest({required bool includeTrackOptions, required bool includePremiumAdUrl, required bool isMicReady, required bool includeFlexParams, required bool includeAudioReceiptUrl, required bool includeAdVersion, required bool includeCompetitiveSepIndicator, required Object? previousTrackList, required bool includeListeningHours, required bool flexCapable, required bool includeMRAIDIsViewableSupport, required bool includeListenerUpsellCheck, required bool includeTrackLength, required String stationId, required bool includeBingeSkippingInfo, required bool includeSharingAdUrl, required bool includeSocialAdUrl, required String stationToken, required bool includeFlexReplayAdUrl, required bool xplatformAdCapable, required String? testCreativeIdString, required List<
TrackType> supportedTrackTypes, required bool includeFlexThumbsDownAdUrl, required bool includeAudioToken, required GetPlaylistReason getPlaylistReason, required bool audioAdPodCapable, required bool includeBackstageAdUrl, required bool includeVoiceTrack, required bool includeAudioSkipUrl, required bool includeFlexSkipAdUrl, required bool stationIsStarting, required String? testLineIdString, required bool requestHighQuality, required bool includeChronosAdTokens, required Object? currentTrack, required bool includeExtraParams, required bool includeArtistMessages, required bool includeCompletePlaylist, required bool includeBannerAd, required String? testMode}) -
const
-
GetStationContentRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
- audioAdPodCapable → bool
-
final
- currentTrack → Object?
-
final
- flexCapable → bool
-
True if the StreamViolationManager is active
final
- getPlaylistReason → GetPlaylistReason
-
Normal, Skip, ThumbDown, Error, StillListening, Upgrade
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- includeAdVersion → bool
-
final
- includeArtistMessages → bool
-
final
- includeAudioReceiptUrl → bool
-
Analytics
final
- includeAudioSkipUrl → bool
-
Analytics
final
- includeAudioToken → bool
-
final
- includeBackstageAdUrl → bool
-
final
- includeBannerAd → bool
-
final
- includeBingeSkippingInfo → bool
-
Useless as skips aren't reported yet. TODO come back to this when skip reporting is implemented.
final
- includeChronosAdTokens → bool
-
final
- includeCompetitiveSepIndicator → bool
-
Competitive separation indicator, ad related
final
- includeCompletePlaylist → bool
-
final
- includeExtraParams → bool
-
final
- includeFlexParams → bool
-
Ad properties
final
- includeFlexReplayAdUrl → bool
-
final
- includeFlexSkipAdUrl → bool
-
final
- includeFlexThumbsDownAdUrl → bool
-
final
- includeListenerUpsellCheck → bool
-
Ad related
final
- includeListeningHours → bool
-
final
- includeMRAIDIsViewableSupport → bool
-
Related to WebView, JavaScript, and ads
final
- includePremiumAdUrl → bool
-
final
- includeSharingAdUrl → bool
-
final
- includeSocialAdUrl → bool
-
final
- includeTrackLength → bool
-
final
- includeTrackOptions → bool
-
final
- includeVoiceTrack → bool
-
True if not connected to Android Auto
final
- isMicReady → bool
-
True if the app has android.permission.RECORD_AUDIO
final
- previousTrackList → Object?
-
final
- requestHighQuality → bool
-
We can access premium quality audio, even if the user isn't subscribed!
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stationId → String
-
final
- stationIsStarting → bool
-
final
- stationToken → String
-
final
-
supportedTrackTypes
→ List<
TrackType> -
final
- testCreativeIdString → String?
-
final
- testLineIdString → String?
-
final
- testMode → String?
-
final
- xplatformAdCapable → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override