Class RemoteView
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.RemoteView.dll
- API Level:
- 3
Represents the proxy class for the widget application.
public class RemoteView
- Inheritance
-
RemoteView
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).
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer
View SourceId
The widget ID.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer
View SourceLayout
Layout object including preview image, overlay text, loading text, and remote screen image.
Declaration
public Layout Layout { get; }
Property Value
Type | Description |
---|---|
Layout |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer
View SourcePeriod
The update period.
Declaration
public double Period { get; }
Property Value
Type | Description |
---|---|
Double |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer
View SourceTitle
Summarized string of the widget content for accessibility.
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer
Methods
View SourcePause()
Pauses the widget application which is connected on this proxy.
Declaration
public void Pause()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when this operation failed. |
UnauthorizedAccessException | Thrown when this operation is denied. |
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 SourcePauseAll()
Pauses all the connected widget applications.
Declaration
public static void PauseAll()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when this operation failed. |
UnauthorizedAccessException | Thrown when this operation is denied. |
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 SourceResume()
Resumes the widget application which is connected on this proxy.
Declaration
public void Resume()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when this operation failed. |
UnauthorizedAccessException | Thrown when this operation is denied. |
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 SourceResumeAll()
Resumes all the connected widget applications.
Declaration
public static void ResumeAll()
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown when this operation failed. |
UnauthorizedAccessException | Thrown when this operation is denied. |
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 SourceSendEvent(RemoteView.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 |
---|---|
UnauthorizedAccessException | Thrown when this operation is denied. |
NotSupportedException | Thrown when this operation is not supported for this device. |