다음을 통해 공유


GnssClock Class

Definition

A class containing a GNSS clock timestamp.

[Android.Runtime.Register("android/location/GnssClock", ApiSince=24, DoNotGenerateAcw=true)]
public sealed class GnssClock : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/location/GnssClock", ApiSince=24, DoNotGenerateAcw=true)>]
type GnssClock = class
    inherit Object
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
GnssClock
Attributes
Implements

Remarks

A class containing a GNSS clock timestamp.

It represents a measurement of the GNSS receiver's clock.

Java documentation for android.location.GnssClock.

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.

Properties

BiasNanos

Gets the clock's sub-nanosecond bias.

BiasUncertaintyNanos

Gets the clock's Bias Uncertainty (1-Sigma) in nanoseconds.

Class

Returns the runtime class of this Object.

(Inherited from Object)
Creator
DriftNanosPerSecond

Gets the clock's Drift in nanoseconds per second.

DriftUncertaintyNanosPerSecond

Gets the clock's Drift Uncertainty (1-Sigma) in nanoseconds per second.

ElapsedRealtimeNanos

Returns the elapsed real-time of this clock since system boot, in nanoseconds.

ElapsedRealtimeUncertaintyNanos

Gets the estimate of the relative precision of the alignment of the #getElapsedRealtimeNanos() timestamp, with the reported measurements in nanoseconds (68% confidence).

FullBiasNanos

Gets the difference between hardware clock (#getTimeNanos()) inside GPS receiver and the true GPS time since 0000Z, January 6, 1980, in nanoseconds.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
HardwareClockDiscontinuityCount

Gets count of hardware clock discontinuities.

HasBiasNanos

Returns true if #getBiasNanos() is available, false otherwise.

HasBiasUncertaintyNanos

Returns true if #getBiasUncertaintyNanos() is available, false otherwise.

HasDriftNanosPerSecond

Returns true if #getDriftNanosPerSecond() is available, false otherwise.

HasDriftUncertaintyNanosPerSecond

Returns true if #getDriftUncertaintyNanosPerSecond() is available, false otherwise.

HasElapsedRealtimeNanos

Returns true if #getElapsedRealtimeNanos() is available, false otherwise.

HasElapsedRealtimeUncertaintyNanos

Returns true if #getElapsedRealtimeUncertaintyNanos() is available, false otherwise.

HasFullBiasNanos

Returns true if #getFullBiasNanos() is available, false otherwise.

HasLeapSecond

Returns true if #getLeapSecond() is available, false otherwise.

HasReferenceCarrierFrequencyHzForIsb

Returns true if #getReferenceCarrierFrequencyHzForIsb() is available, false otherwise.

HasReferenceCodeTypeForIsb

Returns true if #getReferenceCodeTypeForIsb() is available, false otherwise.

HasReferenceConstellationTypeForIsb

Returns true if #getReferenceConstellationTypeForIsb() is available, false otherwise.

HasTimeUncertaintyNanos

Returns true if #getTimeUncertaintyNanos() is available, false otherwise.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
LeapSecond

Gets the leap second associated with the clock's time.

PeerReference (Inherited from Object)
ReferenceCarrierFrequencyHzForIsb

Returns the reference carrier frequency in Hz for inter-signal bias.

ReferenceCodeTypeForIsb

Returns the reference code type for inter-signal bias.

ReferenceConstellationTypeForIsb

Returns the reference constellation type for inter-signal bias.

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
TimeNanos

Gets the GNSS receiver internal hardware clock value in nanoseconds.

TimeUncertaintyNanos

Gets the clock's time Uncertainty (1-Sigma) in nanoseconds.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
DescribeContents()
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
WriteToParcel(Parcel, ParcelableWriteFlags)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to