gpt4 book ai didi

android - 步行和行走在 Activity 识别中的差异 b/n

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:04:33 24 4
gpt4 key购买 nike

在 Android 4.4 中,google play 服务引入了“步行” Activity 识别,但已经有了 on_foot 识别。

  • 两者有什么区别?

最佳答案

根据 https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity

ON_FOOT:“设备在行走或运行的用户身上。”

WALKING:“设备在行走的用户身上。这是 ON_FOOT 的子 Activity 。”

RUNNING:“设备在正在运行的用户身上。这是 ON_FOOT 的子 Activity 。”

关于android - 步行和行走在 Activity 识别中的差异 b/n,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24989213/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com