Language

ConsoleMessage Constructors

Definition

Overloads

Name Description
ConsoleMessage(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ConsoleMessage(String, String, Int32, ConsoleMessage+MessageLevel)

Creates a console message with its text, source, line number, and level.

ConsoleMessage(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected ConsoleMessage(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Webkit.ConsoleMessage : nativeint * Android.Runtime.JniHandleOwnership -> Android.Webkit.ConsoleMessage

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

ConsoleMessage(String, String, Int32, ConsoleMessage+MessageLevel)

Creates a console message with its text, source, line number, and level.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILandroid/webkit/ConsoleMessage$MessageLevel;)V", "")]
public ConsoleMessage(string? message, string? sourceId, int lineNumber, Android.Webkit.ConsoleMessage.MessageLevel? msgLevel);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILandroid/webkit/ConsoleMessage$MessageLevel;)V", "")>]
new Android.Webkit.ConsoleMessage : string * string * int * Android.Webkit.ConsoleMessage.MessageLevel -> Android.Webkit.ConsoleMessage

Parameters

message
String

The text of the console message.

sourceId
String

The identifier of the source that produced the message.

lineNumber
Int32

The source line number associated with the message.

msgLevel
ConsoleMessage.MessageLevel

The console-message level.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to