NotificationChannelGroup Constructors
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.
Overloads
NotificationChannelGroup(String, ICharSequence) |
Creates a notification channel group. |
NotificationChannelGroup(String, String) |
NotificationChannelGroup(String, ICharSequence)
Creates a notification channel group.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;)V", "", ApiSince=26)]
public NotificationChannelGroup (string? id, Java.Lang.ICharSequence? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;)V", "", ApiSince=26)>]
new Android.App.NotificationChannelGroup : string * Java.Lang.ICharSequence -> Android.App.NotificationChannelGroup
Parameters
- id
- String
The id of the group. Must be unique per package. the value may be truncated if it is too long.
- name
- ICharSequence
The user visible name of the group. You can rename this group when the system
locale changes by listening for the Intent#ACTION_LOCALE_CHANGED
broadcast. <p>The recommended maximum length is 40 characters; the value may be
truncated if it is too long.
- Attributes
Remarks
Creates a notification channel group.
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.
Applies to
NotificationChannelGroup(String, String)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;)V", "", ApiSince=26)]
public NotificationChannelGroup (string? id, string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/CharSequence;)V", "", ApiSince=26)>]
new Android.App.NotificationChannelGroup : string * string -> Android.App.NotificationChannelGroup
Parameters
- id
- String
- name
- String
- Attributes
Remarks
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.