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.
public class JavaScriptMessage
- Inheritance
-
JavaScriptMessage
Properties
View SourceName
The object name in JavaScript.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 4
Methods
View SourceGetBodyAsBoolean()
Gets the value of the body as a boolean type.
Declaration
public bool GetBodyAsBoolean()
Returns
Type | Description |
---|---|
Boolean | The value of the body as boolean type. |
API Level: 4
View SourceGetBodyAsDouble()
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. |
API Level: 4
View SourceGetBodyAsInteger()
Gets the value of the body as an integer type.
Declaration
public int GetBodyAsInteger()
Returns
Type | Description |
---|---|
Int32 | The value of the body as an integer type. |
API Level: 4
View SourceGetBodyAsString()
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. |