NotificationChannel.Group Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns what group this channel belongs to. -or- Sets what group this channel belongs to.
public string? Group { [Android.Runtime.Register("getGroup", "()Ljava/lang/String;", "", ApiSince=26)] get; [Android.Runtime.Register("setGroup", "(Ljava/lang/String;)V", "", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getGroup", "()Ljava/lang/String;", "", ApiSince=26)>]
[<set: Android.Runtime.Register("setGroup", "(Ljava/lang/String;)V", "", ApiSince=26)>]
member this.Group : string with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Returns what group this channel belongs to.
This is used only for visually grouping channels in the UI.
Java documentation for android.app.NotificationChannel.getGroup()
.
Property setter documentation:
Sets what group this channel belongs to.
Group information is only used for presentation, not for behavior.
Only modifiable before the channel is submitted to NotificationManager#createNotificationChannel(NotificationChannel)
, unless the channel is not currently part of a group.
Java documentation for android.app.NotificationChannel.setGroup(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.