Class JavaScriptMessage

Definition

Namespace:
Tizen.WebView
Assembly:
Tizen.WebView.dll
API Level:
4

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

C#
Copy
public class JavaScriptMessage
Inheritance
JavaScriptMessage

Properties

View Source

Name

The object name in JavaScript.

Declaration
C#
Copy
public string Name { get; }
Property Value
Type Description
System.String
API Level: 4

Methods

View Source

GetBodyAsBoolean()

Gets the value of the body as a boolean type.

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

The value of the body as boolean type.

API Level: 4
View Source

GetBodyAsDouble()

Gets the value of the body as a double type.

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

The value of the body as a double type.

API Level: 4
View Source

GetBodyAsInteger()

Gets the value of the body as an integer type.

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

The value of the body as an integer type.

API Level: 4
View Source

GetBodyAsString()

Gets the value of the body as a string type.

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

The value of the body as a string type.

API Level: 4