Class WidgetControl.Instance
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.WidgetControl.dll
- API Level:
- 3
Class for the widget instance.
C#Copypublic class Instance
- Inheritance
-
WidgetControl.Instance
Properties
Declaration
C#Copypublic string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 3
Methods
Declaration
C#Copypublic void ChangeContent(Bundle content, bool force)
Parameters
Type | Name | Description |
---|---|---|
Bundle | content | Content to be changed. |
Boolean | force | True if you want to update your widget even if the provider is paused, otherwise false. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when failed because of an invalid argument. |
System.InvalidOperationException | Thrown in case of failed conditions. |
UnauthorizedAccessException | Thrown when an application does not have the privilege to access this method. |
API Level: 3
Declaration
C#Copypublic void ChangePeriod(double period)
Parameters
Type | Name | Description |
---|---|---|
Double | period |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when failed because of an invalid argument. |
System.InvalidOperationException | Thrown in case of failed conditions. |
UnauthorizedAccessException | Thrown when an application does not have the privilege to access this method. |
API Level: 3
Declaration
C#Copypublic Bundle GetContent()
Returns
Type | Description |
---|---|
Bundle |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown in case of failed conditions. |