Report a JavaScript error message to the host application.
Syntax
[Android.Runtime.Register("onConsoleMessage", "(Ljava/lang/String;ILjava/lang/String;)V", "GetOnConsoleMessage_Ljava_lang_String_ILjava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual
void OnConsoleMessage (
string message,
int lineNumber,
string sourceID)
Parameters
- message
- The error message to report.
- lineNumber
- The line number of the error.
- sourceID
- The name of the source file that caused the error.
Remarks
Requirements
Namespace: Android.Webkit
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 7