/// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public Bundle GetContent()
{
IntPtr h;
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="ArgumentException">Thrown when failed because of an invalid argument.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public void ChangeContent(Bundle content, bool force)
{
Interop.WidgetService.ErrorCode err = Interop.WidgetService.UpdateContent(_widgetId, Id, content.SafeBundleHandle, force ? 1 : 0);
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="ArgumentException">Thrown when failed because of an invalid argument.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public void ChangePeriod(double period)
{
Interop.WidgetService.ErrorCode err = Interop.WidgetService.ChangePeriod(_widgetId, Id, period);
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="ArgumentException">Thrown when failed because of an invalid argument.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public static WidgetControl[] CreateAll(string pkgId)
{
List<WidgetControl> list = new List<WidgetControl>();
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="ArgumentException">Thrown when failed because of an invalid argument.</exception>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public static string[] GetWidgetIds(string pkgId)
{
List<string> list = new List<string>();
/// <since_tizen> 6 </since_tizen>
/// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public string MainAppId
{
get
/// <since_tizen> 6 </since_tizen>
/// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public string PackageId
{
get
/// <since_tizen> 3 </since_tizen>
/// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public bool IsNoDisplay
{
get
/// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public event EventHandler<WidgetLifecycleEventArgs> Created
{
add
/// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public event EventHandler<WidgetLifecycleEventArgs> Resumed
{
add
/// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public event EventHandler<WidgetLifecycleEventArgs> Paused
{
add
/// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public event EventHandler<WidgetLifecycleEventArgs> Destroyed
{
add
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
/// <exception cref="NotSupportedException">Thrown when the API is not supported in this device.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
public IEnumerable<Instance> GetInstances()
{
IList<Instance> instances = new List<Instance>();
/// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public IEnumerable<Scale> GetScales()
{
IntPtr wPtr;
/// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="ArgumentNullException">Thrown when the argument is null.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public string GetName(string lang)
{
if (lang == null)
/// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="ArgumentNullException">Thrown when the argument is null.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public string GetIconPath(string lang)
{
if (lang == null)
/// <since_tizen> 3 </since_tizen>
/// <feature>http://tizen.org/feature/shell.appwidget</feature>
/// <exception cref="InvalidOperationException">Thrown in case of failed conditions.</exception>
- /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the privilege to access this method.</exception>
- /// <exception cref="NotSupportedException">Thrown in case of feature not supported.</exception>
+ /// <exception cref="UnauthorizedAccessException">Thrown when an application does not have the required privileges to access this method.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the required features are not supported.</exception>
public void Dispose()
{
Dispose(true);