Tizen.Content.Download.dll #common #mobile #mobile-emul #tv #ivi #wearable
Tizen.Content.MediaContent.dll #common #mobile #mobile-emul #tv #ivi #wearable
Tizen.Content.MimeType.dll #common #mobile #mobile-emul #tv #ivi #wearable
-Tizen.Context.dll #mobile #mobile-emul
+Tizen.Context.dll #mobile #mobile-emul #wearable
Tizen.Convergence.dll #common #mobile #mobile-emul #ivi #wearable
Tizen.dll #common #mobile #mobile-emul #tv #ivi #wearable
Tizen.Location.dll #mobile #mobile-emul #tv #ivi #wearable
/// <summary>
/// The default constructor of BatteryStatistics class.
/// </summary>
+ /// <feature>http://tizen.org/feature/app_history</feature>
/// <feature>http://tizen.org/feature/battery</feature>
/// <exception cref="InvalidOperationException">Thrown when method fail due to internal error.</exception>
- /// <exception cref="NotSupportedException">Thrown when the statistics is not supported.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the features are not supported.</exception>
public BatteryStatistics()
{
SortOrder = SortOrderType.ConsumptionMost;
/// The constructor of BatteryStatistics class.
/// </summary>
/// <param name="order">The criteria of the battery statistics sorted by.</param>
+ /// <feature>http://tizen.org/feature/app_history</feature>
/// <feature>http://tizen.org/feature/battery</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="InvalidOperationException">Thrown when method fail due to internal error.</exception>
- /// <exception cref="NotSupportedException">Thrown when the statistics is not supported.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the features are not supported.</exception>
public BatteryStatistics(SortOrderType order)
{
SortOrder = order;
/// <param name="endTime">The end time of the data to be aggregated.</param>
/// <returns>Battery statistics data retrieved.</returns>
/// <privilege>http://tizen.org/privilege/apphistory.read</privilege>
+ /// <feature>http://tizen.org/feature/app_history</feature>
+ /// <feature>http://tizen.org/feature/battery</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="InvalidOperationException">Thrown when invalid operation occurs.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the features are not supported.</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
public IReadOnlyList<BatteryStatisticsData> Query(DateTime startTime, DateTime endTime)
{
/// <param name="resultSize">The number of data records to be retrieved.</param>
/// <returns>Battery statistics data retrieved.</returns>
/// <privilege>http://tizen.org/privilege/apphistory.read</privilege>
+ /// <feature>http://tizen.org/feature/app_history</feature>
+ /// <feature>http://tizen.org/feature/battery</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="InvalidOperationException">Thrown when invalid operation occurs.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the features are not supported.</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
public IReadOnlyList<BatteryStatisticsData> Query(DateTime startTime, DateTime endTime, uint resultSize)
{
/// Gets the last time when the device was fully charged.
/// </summary>
/// <returns>The last time when the device was fully charged.</returns>
+ /// <feature>http://tizen.org/feature/app_history</feature>
/// <feature>http://tizen.org/feature/battery</feature>
/// <exception cref="NotSupportedException">Thrown when the statistics is not supported.</exception>
public static DateTime GetLastFullyChargedTime()
/// <summary>
/// The default constructor of UsageStatistics class.
/// </summary>
+ /// <feature>http://tizen.org/feature/app_history</feature>
/// <exception cref="InvalidOperationException">Thrown when method fail due to internal error.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the feature is not supported.</exception>
public UsageStatistics()
{
SortOrder = SortOrderType.LastLaunchTimeNewest;
/// The constructor of UsageStatistics class.
/// </summary>
/// <param name="order">The criteria of the usage statistics sorted by.</param>
+ /// <feature>http://tizen.org/feature/app_history</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="InvalidOperationException">Thrown when method fail due to internal error.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the feature is not supported.</exception>
public UsageStatistics(SortOrderType order)
{
SortOrder = order;
/// <param name="endTime">The end time of the data to be aggregated.</param>
/// <returns>Usage statistics data retrieved.</returns>
/// <privilege>http://tizen.org/privilege/apphistory.read</privilege>
+ /// <feature>http://tizen.org/feature/app_history</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="InvalidOperationException">Thrown when invalid operation occurs.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the feature is not supported.</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
public IReadOnlyList<UsageStatisticsData> Query(DateTime startTime, DateTime endTime)
{
/// <param name="resultSize">The number of data records to be retrieved.</param>
/// <returns>Usage statistics data retrieved.</returns>
/// <privilege>http://tizen.org/privilege/apphistory.read</privilege>
+ /// <feature>http://tizen.org/feature/app_history</feature>
/// <exception cref="ArgumentException">Thrown when an invalid argument is used.</exception>
/// <exception cref="InvalidOperationException">Thrown when invalid operation occurs.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the feature is not supported.</exception>
/// <exception cref="UnauthorizedAccessException">Thrown when the app has no privilege to retrieve app history.</exception>
public IReadOnlyList<UsageStatisticsData> Query(DateTime startTime, DateTime endTime, uint resultSize)
{
List<SatelliteInformation> satelliteList = new List<SatelliteInformation>();
Log.Info(Globals.LogTag, "Getting the list of satellites");
- if (_satelliteStatusinfomationCallback == null)
+ _satelliteStatusinfomationCallback = (azimuth, elevation, prn, snr, active, userData) =>
{
- _satelliteStatusinfomationCallback = (azimuth, elevation, prn, snr, active, userData) =>
- {
- SatelliteInformation satellite = new SatelliteInformation(azimuth, elevation, prn, snr, active);
- satelliteList.Add(satellite);
- return true;
- };
- }
+ SatelliteInformation satellite = new SatelliteInformation(azimuth, elevation, prn, snr, active);
+ satelliteList.Add(satellite);
+ return true;
+ };
int ret = Interop.GpsSatellite.GetForEachSatelliteInView(_handle, _satelliteStatusinfomationCallback, IntPtr.Zero);
if (((LocationError)ret != LocationError.None))
private EventHandler<DBStatusChangedEventArgs> _dbStatusChanged;
private Dictionary<string, EventHandler<DBChangedEventArgs>> _eventHandlerMap = new Dictionary<string, EventHandler<DBChangedEventArgs>>();
private Dictionary<string, Interop.Database.ContactsDBChangedCallback> _callbackMap = new Dictionary<string, Interop.Database.ContactsDBChangedCallback>();
- private Interop.Database.ContactsDBChangedCallback _dbChangedDelegate;
internal ContactsDatabase()
{
namespace Tizen.System
{
+ [Obsolete("Use class Tizen.System.Information")]
[EditorBrowsable(EditorBrowsableState.Never)]
- internal static class SystemInfo
+ public static class SystemInfo
{
[EditorBrowsable(EditorBrowsableState.Never)]
private static Interop.SystemInfo.SystemInfoType GetValueType(string key, out Interop.SystemInfo.SystemInfoValueType valueType)
/// <param name="key">The name of the feature.</param>
/// <param name="value">The value of the given feature.</param>
/// <returns>Returns true on success, otherwise false.</returns>
- internal static bool TryGetValue<T>(string key, out T value)
+ public static bool TryGetValue<T>(string key, out T value)
{
bool res = false;
if (typeof(T) == typeof(bool))
/// <param name="key">The name of the feature.</param>
/// <param name="value">The value of the given feature.</param>
/// <returns>Returns true on success, otherwise false.</returns>
- internal static bool TryGetValue(string key, out bool value)
+ public static bool TryGetValue(string key, out bool value)
{
Interop.SystemInfo.SystemInfoValueType valueType;
Interop.SystemInfo.SystemInfoType keyType = GetValueType(key, out valueType);
/// <param name="key">The name of the feature.</param>
/// <param name="value">The value of the given feature.</param>
/// <returns>Returns true on success, otherwise false.</returns>
- internal static bool TryGetValue(string key, out int value)
+ public static bool TryGetValue(string key, out int value)
{
Interop.SystemInfo.SystemInfoValueType valueType;
Interop.SystemInfo.SystemInfoType keyType = GetValueType(key, out valueType);
/// <param name="key">The name of the feature.</param>
/// <param name="value">The value of the given feature.</param>
/// <returns>Returns true on success, otherwise false.</returns>
- internal static bool TryGetValue(string key, out double value)
+ public static bool TryGetValue(string key, out double value)
{
Interop.SystemInfo.SystemInfoValueType valueType;
Interop.SystemInfo.SystemInfoType keyType = GetValueType(key, out valueType);
/// <param name="key">The name of the feature.</param>
/// <param name="value">The value of the given feature.</param>
/// <returns>Returns true on success, otherwise false.</returns>
- internal static bool TryGetValue(string key, out string value)
+ public static bool TryGetValue(string key, out string value)
{
Interop.SystemInfo.SystemInfoValueType valueType;
Interop.SystemInfo.SystemInfoType keyType = GetValueType(key, out valueType);