Class RemoteView

Definition

Namespace:
Tizen.Applications
Assembly:
Tizen.Applications.RemoteView.dll
API Level:
3

Represents the proxy class for the widget application.

C#
Copy
public class RemoteView
Inheritance
System.Object
RemoteView

Properties

View Source

Content

Contents of the widget.

Declaration
C#
Copy
public string Content { get; }
Property Value
Type Description
System.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 Source

Id

The widget ID.

Declaration
C#
Copy
public string Id { get; }
Property Value
Type Description
System.String
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer
View Source

Layout

Layout object including preview image, overlay text, loading text, and remote screen image.

Declaration
C#
Copy
public Layout Layout { get; }
Property Value
Type Description
Layout
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer
View Source

Period

The update period.

Declaration
C#
Copy
public double Period { get; }
Property Value
Type Description
System.Double
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer
View Source

Title

Summarized string of the widget content for accessibility.

Declaration
C#
Copy
public string Title { get; }
Property Value
Type Description
System.String
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer

Methods

View Source

Pause()

Pauses the widget application which is connected on this proxy.

Declaration
C#
Copy
public void Pause()
Exceptions
Type Condition
System.InvalidOperationException

Thrown when this operation failed.

UnauthorizedAccessException

Thrown when this operation is denied.

System.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 Source

PauseAll()

Pauses all the connected widget applications.

Declaration
C#
Copy
public static void PauseAll()
Exceptions
Type Condition
System.InvalidOperationException

Thrown when this operation failed.

UnauthorizedAccessException

Thrown when this operation is denied.

System.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 Source

Resume()

Resumes the widget application which is connected on this proxy.

Declaration
C#
Copy
public void Resume()
Exceptions
Type Condition
System.InvalidOperationException

Thrown when this operation failed.

UnauthorizedAccessException

Thrown when this operation is denied.

System.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 Source

ResumeAll()

Resumes all the connected widget applications.

Declaration
C#
Copy
public static void ResumeAll()
Exceptions
Type Condition
System.InvalidOperationException

Thrown when this operation failed.

UnauthorizedAccessException

Thrown when this operation is denied.

System.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 Source

SendEvent(RemoteView.Event)

Sends the event to the widget application which is connected on this proxy.

Declaration
C#
Copy
public void SendEvent(RemoteView.Event ev)
Parameters
Type Name Description
RemoteView.Event ev
Exceptions
Type Condition
UnauthorizedAccessException

Thrown when this operation is denied.

System.NotSupportedException

Thrown when this operation is not supported for this device.

API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/widget.viewer