Class RemoteView
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.RemoteView.dll
Represents the proxy class for the widget application.
[Obsolete("Deprecated since API10. Will be removed in API12.")]
public class RemoteView
- Inheritance
-
objectRemoteView
Properties
View SourceContent
Contents of the widget.
Declaration
[Obsolete("Deprecated since API10. Will be removed in API12.")]
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
[Obsolete("Deprecated since API10. Will be removed in API12.")]
public string Id { get; }
Property Value
Type | Description |
---|---|
string |
Layout
Layout object including preview image, overlay text, loading text, and remote screen image.
Declaration
[Obsolete("Deprecated since API10. Will be removed in API12.")]
public Layout Layout { get; }
Property Value
Type | Description |
---|---|
Layout |
Period
The update period.
Declaration
[Obsolete("Deprecated since API10. Will be removed in API12.")]
public double Period { get; }
Property Value
Type | Description |
---|---|
double |
Title
Summarized string of the widget content for accessibility.
Declaration
[Obsolete("Deprecated since API10. Will be removed in API12.")]
public string Title { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourcePause()
Pauses the widget application which is connected on this proxy.
Declaration
[Obsolete("Deprecated since API10. Will be removed in API12.")]
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
[Obsolete("Deprecated since API10. Will be removed in API12.")]
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
[Obsolete("Deprecated since API10. Will be removed in API12.")]
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
[Obsolete("Deprecated since API10. Will be removed in API12.")]
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
[Obsolete("Deprecated since API10. Will be removed in API12.")]
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. |