GnssNavigationMessage.GetData 方法

定义

获取报告的 GNSS 消息的数据。

[Android.Runtime.Register("getData", "()[B", "", ApiSince=24)]
public byte[] GetData ();
[<Android.Runtime.Register("getData", "()[B", "", ApiSince=24)>]
member this.GetData : unit -> byte[]

返回

Byte[]
属性

注解

获取报告的 GNSS 消息的数据。

使用大尾数格式(MSB first)指定的字节数(或单词)。

<ul><li>for GPS L1 C/A, IRNSS L5 C/A, Beidou D1 &北斗 D2,每个子帧包含 10 个 30 位单词。 每个单词(30 位)应分别适合 4 字节单词(跳过 B31 和 B32)中的最后 30 位(跳过 B31 和 B32),共 40 个字节,涵盖时间段分别为 6、6 和 0.6 秒。</li li><>对于 Glonass L1 C/A,每个字符串包含 85 个数据位,包括校验和。 这些位应适合 11 个字节,MSB 首先(跳过 B86-B88),涵盖 2 秒的时间段。</li li><>对于 Galileo F/NAV,每个单词由 238 位(不包括同步和尾符号)组成。 每个单词应适合 30 字节,MSB 首先(跳过 B239,B240),涵盖 10 秒的时间段。</li li><>For Galileo I/NAV, each page contains 2 page parts, even and odd, with a total of 2x114 = 228 bits, (sync & tail excluded) that should be fit into 29 bytes, with MSB first (skip B229-B232)。</li li><>对于 SBAS,每个块由 250 个数据位组成,应适合 32 个字节。 MSB 首先(跳过 B251-B256)。</li li><>For Beidou CNAV1, subframe #1 包含 14 个数据位,应适合 2 个字节。 MSB 首先(跳过 B15-B16)。 子帧 #2 由 600 位组成,应适合 75 个字节。 子帧 #3 包含 264 个应适合 33 个字节的数据位。</li li><>For Beidou CNAV2,每个子帧包含 288 个数据位,应适合 36 个字节。</li></ul>

适用于 . 的 android.location.GnssNavigationMessage.getData()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于