Class JavaScriptMessage

    Definition

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

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

    public class JavaScriptMessage
    Inheritance
    object
    JavaScriptMessage

    Properties

    View Source

    Name

    The object name in JavaScript.

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

    Methods

    View Source

    GetBodyAsBoolean()

    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.

    View Source

    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.

    View Source

    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.

    View Source

    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.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX