Class RemoteView
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.RemoteView.dll
Represents the proxy class for the widget application.
C#Copypublic class RemoteView
- Inheritance
-
objectRemoteView
Properties
Declaration
C#Copypublic 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).
Declaration
C#Copypublic string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
Layout
Layout object including preview image, overlay text, loading text, and remote screen image.
Declaration
C#Copypublic Layout Layout { get; }
Property Value
| Type | Description |
|---|---|
| Layout |
Declaration
C#Copypublic double Period { get; }
Property Value
| Type | Description |
|---|---|
| double |
Declaration
C#Copypublic string Title { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic 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
C#Copypublic 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. |