Class RemoteViewFactory
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.RemoteView.dll
Represents a factory class for making the RemoteView objects.
public static class RemoteViewFactory
- Inheritance
-
objectRemoteViewFactory
Methods
View SourceCreate(EvasObject, string, string, double, bool, bool, bool)
Creates a RemoteView object.
Declaration
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. |
string | widgetId | Widget ID. |
string | content | Contents that will be given to the widget instance. |
double | period | Update period. |
bool | previewImage | True if you want to show the preview image. |
bool | overlayText | True if you want to show the overlay text. |
bool | 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. |
System.UnauthorizedAccessException | Thrown when this operation is denied. |
System.NotSupportedException | Thrown when this operation is not supported for this device. |
Init(EvasObject)
Initializes RemoteViewFactory.
Declaration
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. |
System.UnauthorizedAccessException | Thrown when this operation is denied. |
System.NotSupportedException | Thrown when this operation is not supported for this device. |
Shutdown()
Finalizes the RemoteViewFactory.
Declaration
public static void Shutdown()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when this operation failed. |
System.UnauthorizedAccessException | Thrown when this operation is denied. |
System.NotSupportedException | Thrown when this operation is not supported for this device. |