Class RemoteViewFactory

Definition

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

Represents a factory class for making the RemoteView objects.

C#
Copy
[Obsolete("Deprecated since API10. Will be removed in API12.")] public static class RemoteViewFactory
Inheritance
System.Object
RemoteViewFactory

Methods

View Source

Create(EvasObject, String, String, Double, Boolean, Boolean, Boolean)

Creates a RemoteView object.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Will be removed in API12.")] public static RemoteView Create(EvasObject parent, string widgetId, string content, double period, bool previewImage = true, bool overlayText = true, bool loadingMessage = true)
Parameters
Type Name Description
EvasObject parent

Parent object.

System.String widgetId

Widget ID.

System.String content

Contents that will be given to the widget instance.

System.Double period

Update period.

Boolean previewImage

True if you want to show the preview image.

Boolean overlayText

True if you want to show the overlay text.

Boolean loadingMessage

True if you want to show the loading message.

Returns
Type Description
RemoteView

RemoteView object.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when this operation failed.

UnauthorizedAccessException

Thrown when this operation is denied.

System.NotSupportedException

Thrown when this operation is not supported for this device.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer
View Source

Init(EvasObject)

Initializes RemoteViewFactory.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Will be removed in API12.")] public static void Init(EvasObject win)
Parameters
Type Name Description
EvasObject win

Window object that will contain RemoteViews that are generated by RemoteViewFactory. All the remote views will be located in the specified window object.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when this operation failed.

UnauthorizedAccessException

Thrown when this operation is denied.

System.NotSupportedException

Thrown when this operation is not supported for this device.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer
View Source

Shutdown()

Finalizes the RemoteViewFactory.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Will be removed in API12.")] public static void Shutdown()
Exceptions
Type Condition
System.InvalidOperationException

Thrown when this operation failed.

UnauthorizedAccessException

Thrown when this operation is denied.

System.NotSupportedException

Thrown when this operation is not supported for this device.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer