BackgroundNotification class
Notification shown by the Android foreground service that keeps the stream alive while the app is backgrounded. Required on Android; ignored on iOS.
Constructors
Properties
- channelId → String
-
Unique notification channel id. Reuse the same value across calls to
avoid re-creating the channel.
final
- channelName → String
-
User-visible channel name shown in Android settings.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconResourceName → String?
-
Drawable resource name for the small icon, e.g.
"ic_stat_recording". When null, the app's launcher icon is used.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
Notification body.
final
- title → String
-
Notification title (bold line).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited