C# Class Badge.Plugin.BadgeProvider

Datei anzeigen Open project: alexrainman/Xamarin.Badge

Protected Properties

Property Type Description
mContext Android.Content.Context

Public Methods

Method Description
BadgeProvider ( Android.Content.Context context ) : Android.Content

Badge provider constructor

RemoveBadge ( ) : void

Virtual remove badge

SetBadge ( int count ) : void

Virtual set badge

Protected Methods

Method Description
GetMainActivityClassName ( ) : string

Get main activity class name

GetPackageName ( ) : string

Get package name

Method Details

BadgeProvider() public method

Badge provider constructor
public BadgeProvider ( Android.Content.Context context ) : Android.Content
context Android.Content.Context
return Android.Content

GetMainActivityClassName() protected method

Get main activity class name
protected GetMainActivityClassName ( ) : string
return string

GetPackageName() protected method

Get package name
protected GetPackageName ( ) : string
return string

RemoveBadge() public method

Virtual remove badge
public RemoveBadge ( ) : void
return void

SetBadge() public method

Virtual set badge
public SetBadge ( int count ) : void
count int
return void

Property Details

mContext protected_oe property

Badge provider context
protected Context,Android.Content mContext
return Android.Content.Context