Class AccountProvider
Definition
- Namespace:
- Tizen.Account.AccountManager
- Assembly:
- Tizen.Account.AccountManager.dll
- API Level:
- 3
The account ID.
C#Copypublic class AccountProvider : IDisposable
- Inheritance
-
AccountProvider
Properties
Declaration
C#Copypublic string AppId { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
Declaration
C#Copypublic string IconPath { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
Declaration
C#Copypublic bool MultipleAccountSupport { get; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 3
Declaration
C#Copypublic string ServiceProviderId { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
Declaration
C#Copypublic string SmallIconPath { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
Methods
Declaration
C#Copypublic void Dispose()
API Level: 3
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | The boolean value for destoying AccountProvider handle. |
API Level: 3
Declaration
C#Copyprotected void Finalize()
API Level: 3
Declaration
C#Copypublic IEnumerable<string> GetAllCapabilities()
Returns
Type | Description |
---|---|
IEnumerable<String> | The list of capability information. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/account.read
Feature: http://tizen.org/feature/account
Declaration
C#Copypublic static IEnumerable<string> GetFeaturesByAppId(string appId)
Parameters
Type | Name | Description |
---|---|---|
String | appId | The application ID. |
Returns
Type | Description |
---|---|
IEnumerable<String> | Capability information list for the given appId. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/account.read
Feature: http://tizen.org/feature/account
Declaration
C#Copypublic string GetLabel(string locale)
Parameters
Type | Name | Description |
---|---|---|
String | locale | The locale is specified as an ISO 3166 alpha-2 two letter country-code followed by ISO 639-1 for the two-letter language code. For example, "ko_KR" or "ko-kr" for Korean, "en_US" or "en-us" for American English. |
Returns
Type | Description |
---|---|
String | The label text given for the locale. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/account.read
Feature: http://tizen.org/feature/account
Declaration
C#Copypublic Dictionary<string, string> GetLabels()
Returns
Type | Description |
---|---|
Dictionary<String, String> | All the labels information for the given account provider. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/account.read
Feature: http://tizen.org/feature/account
GetLabelsByAppId(String)
Gets the specific label information detail of the account provider.
Declaration
C#Copypublic static Dictionary<string, string> GetLabelsByAppId(string appId)
Parameters
Type | Name | Description |
---|---|---|
String | appId | The application ID to search. |
Returns
Type | Description |
---|---|
Dictionary<String, String> | All the labels information for the given application ID. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/account.read
Feature: http://tizen.org/feature/account
IsAppSupported(String)
Checks whether the given appId exists in the account provider DB.
Declaration
C#Copypublic bool IsAppSupported(string appId)
Parameters
Type | Name | Description |
---|---|---|
String | appId | The application ID to check. |
Returns
Type | Description |
---|---|
Boolean | returns true If App is supported |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/account.read
Feature: http://tizen.org/feature/account
IsFeatureSupportedByApp(String, String)
Checks whether the given application ID supports the capability.
Declaration
C#Copypublic static bool IsFeatureSupportedByApp(string appId, string capability)
Parameters
Type | Name | Description |
---|---|---|
String | appId | The application ID. |
String | capability | The capability information. |
Returns
Type | Description |
---|---|
Boolean | TRUE if the application supports the given capability, otherwise FALSE if the application does not support the given capability |