Dela via


IOnNmeaMessageListener.OnNmeaMessage(String, Int64) Method

Definition

Called when an NMEA message is received.

[Android.Runtime.Register("onNmeaMessage", "(Ljava/lang/String;J)V", "GetOnNmeaMessage_Ljava_lang_String_JHandler:Android.Locations.IOnNmeaMessageListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public void OnNmeaMessage (string? message, long timestamp);
[<Android.Runtime.Register("onNmeaMessage", "(Ljava/lang/String;J)V", "GetOnNmeaMessage_Ljava_lang_String_JHandler:Android.Locations.IOnNmeaMessageListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member OnNmeaMessage : string * int64 -> unit

Parameters

message
String

NMEA message

timestamp
Int64

Timestamp of the location fix, as reported by the GNSS chipset. The value is specified in Unix time milliseconds since 1st January 1970, 00:00:00 UTC

Attributes

Remarks

Called when an NMEA message is received.

Java documentation for android.location.OnNmeaMessageListener.onNmeaMessage(java.lang.String, long).

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