Class JavaScriptMessage

Definition

Namespace:
Tizen.WebView
Assembly:
Tizen.WebView.dll

A script message contains information that is sent from the JavaScript runtime.

C#
Copy
public class JavaScriptMessage
Inheritance
object
JavaScriptMessage

Properties

View Source

Name

The object name in JavaScript.

Declaration
C#
Copy
public string Name { get; }
Property Value
Type Description
string

Methods

View Source

GetBodyAsBoolean()

Gets the value of the body as a boolean type.

Declaration
C#
Copy
public bool GetBodyAsBoolean()
Returns
Type Description
bool

The value of the body as boolean type.

View Source

GetBodyAsDouble()

Gets the value of the body as a double type.

Declaration
C#
Copy
public double GetBodyAsDouble()
Returns
Type Description
double

The value of the body as a double type.

View Source

GetBodyAsInteger()

Gets the value of the body as an integer type.

Declaration
C#
Copy
public int GetBodyAsInteger()
Returns
Type Description
int

The value of the body as an integer type.

View Source

GetBodyAsString()

Gets the value of the body as a string type.

Declaration
C#
Copy
public string GetBodyAsString()
Returns
Type Description
string

The value of the body as a string type.