'One of the following values: NONE, SMALL, LARGE
'Not supported by all launchers.
Public Sub BadgeIconType (IconType As String) As NB6
If SdkLevel >= 26 Then
Dim m As Map = CreateMap("LARGE": 2, "NONE": 0, "SMALL": 1)
NotificationBuilder.RunMethod("setBadgeIconType", Array(m.Get(IconType)))
End If
Return Me
End Sub
'Sets a number that might be displayed as a badge.
Public Sub Number (Num As Int) As NB6
If IsOld Then
OldNotification.Number = Num
Else
NotificationBuilder.RunMethod("setNumber", Array(Num))
End If
Return Me
End Sub