Class JavaScriptMessage
Definition
- Assembly:
- Tizen.WebView.dll
A script message contains information that is sent from the JavaScript runtime.
public class JavaScriptMessage
- Inheritance
-
objectJavaScriptMessage
Properties
View SourceName
The object name in JavaScript.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceGetBodyAsBoolean()
Gets the value of the body as a boolean type.
Declaration
public bool GetBodyAsBoolean()
Returns
Type | Description |
---|---|
bool | The value of the body as boolean type. |
GetBodyAsDouble()
Gets the value of the body as a double type.
Declaration
public double GetBodyAsDouble()
Returns
Type | Description |
---|---|
double | The value of the body as a double type. |
GetBodyAsInteger()
Gets the value of the body as an integer type.
Declaration
public int GetBodyAsInteger()
Returns
Type | Description |
---|---|
int | The value of the body as an integer type. |
GetBodyAsString()
Gets the value of the body as a string type.
Declaration
public string GetBodyAsString()
Returns
Type | Description |
---|---|
string | The value of the body as a string type. |