Class RemoteView
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.RemoteView.dll
Represents the proxy class for the widget application.
public class RemoteView
- Inheritance
-
objectRemoteView
Properties
View SourceContent
Contents of the widget.
Declaration
public string Content { get; }
Property Value
Type | Description |
---|---|
string |
Remarks
This string can be used for creating contents of the widget again after rebooting a device or it can be recovered from a crash (abnormal status).
Id
The widget ID.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
string |
Layout
Layout object including preview image, overlay text, loading text, and remote screen image.
Declaration
public Layout Layout { get; }
Property Value
Type | Description |
---|---|
Layout |
Period
The update period.
Declaration
public double Period { get; }
Property Value
Type | Description |
---|---|
double |
Title
Summarized string of the widget content for accessibility.
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourcePause()
Pauses the widget application which is connected on this proxy.
Declaration
public void Pause()
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. |
PauseAll()
Pauses all the connected widget applications.
Declaration
public static void PauseAll()
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. |
Resume()
Resumes the widget application which is connected on this proxy.
Declaration
public void Resume()
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. |
ResumeAll()
Resumes all the connected widget applications.
Declaration
public static void ResumeAll()
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. |
SendEvent(Event)
Sends the event to the widget application which is connected on this proxy.
Declaration
public void SendEvent(RemoteView.Event ev)
Parameters
Type | Name | Description |
---|---|---|
RemoteView.Event | ev |
Exceptions
Type | Condition |
---|---|
System.UnauthorizedAccessException | Thrown when this operation is denied. |
System.NotSupportedException | Thrown when this operation is not supported for this device. |