public static SetBadge ( Android.Content.Context context, int count ) : void | ||
context | Android.Content.Context | |
count | int | |
리턴 | void |
/** * Remove current badge count * * @param context context activity * @throws BadgesNotSupportedException when the current launcher is not supported by Badges */ public static void RemoveBadge(Context context) { Badges.SetBadge(context, 0); }
/// <summary> /// Sets the badge. /// </summary> /// <param name="badgeNumber">The badge number.</param> public void SetBadge(int badgeNumber) { Badges.SetBadge(Application.Context, badgeNumber); }