Package com.wonderpush.sdk
Class WonderPushChannelGroup
java.lang.Object
com.wonderpush.sdk.WonderPushChannelGroup
- All Implemented Interfaces:
Cloneable
A grouping of related notification channels. e.g., channels that all belong to a single account.
This class mimicks the NotificationChannelGroup
class to permit
exposing its benefits to devices prior to Android O.
- See Also:
-
Constructor Details
-
WonderPushChannelGroup
Creates a notification channel group.- Parameters:
id
- The id of the group. Must be unique per package. the value may be truncated if it is too long.- See Also:
-
-
Method Details
-
clone
- Throws:
CloneNotSupportedException
-
equals
-
hashCode
public int hashCode() -
toString
-
getId
Returns the id of this channel group.- Returns:
- The id of this channel group.
- See Also:
-
getName
Returns the user visible name of this channel group.- Returns:
- The user visible name of this channel group.
- See Also:
-
setName
Sets the user visible name of this channel group.- Parameters:
name
- The user visible name of the group. The recommended maximum length is 40 characters; the value may be truncated if it is too long.- Returns:
- The channel group object for chaining setters.
- See Also:
-