Class JavaScriptMessage
Definition
- Assembly:
- Tizen.WebView.dll
A script message contains information that is sent from the JavaScript runtime.
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")]
public class JavaScriptMessage
- Inheritance
-
objectJavaScriptMessage
Properties
View SourceName
The object name in JavaScript.
Declaration
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")]
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceGetBodyAsBoolean()
Gets the value of the body as a boolean type.
Declaration
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")]
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
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")]
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
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")]
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
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")]
public string GetBodyAsString()
Returns
Type | Description |
---|---|
string | The value of the body as a string type. |