Class WidgetControl.Instance

Definition

Namespace:
Tizen.Applications
Assembly:
Tizen.Applications.WidgetControl.dll
API Level:
3

Class for the widget instance.

C#
Copy
public class Instance : object
Inheritance
WidgetControl.Instance

Properties

View Source

Id

The widget ID.

Declaration
C#
Copy
public string Id { get; }
Property Value
Type Description
String
API Level: 3

Methods

View Source

ChangeContent(Bundle, Boolean)

Changes the content for the widget instance.

Declaration
C#
Copy
public 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.

API Level: 3
Feature: http://tizen.org/feature/shell.appwidget
View Source

ChangePeriod(Double)

Changes the update period for the widget instance.

Declaration
C#
Copy
public void ChangePeriod(double period)
Parameters
Type Name Description
Double period

The period to be changed.

API Level: 3
Feature: http://tizen.org/feature/shell.appwidget
View Source

GetContent()

Gets the widget content.

Declaration
C#
Copy
public Bundle GetContent()
Returns
Type Description
Bundle

The bundle containing widget content.

API Level: 3
Feature: http://tizen.org/feature/shell.appwidget

Extension Methods