Most visited

Recently visited

Added in API level 3
Deprecated since API level 24

GpsStatus.Listener

public static interface GpsStatus.Listener

android.location.GpsStatus.Listener


此接口在API级别24中已被弃用。
改为使用GnssStatus.Callback

用于在GPS状态发生变化时接收通知。

Summary

Public methods

abstract void onGpsStatusChanged(int event)

打电话报告GPS状态的变化。

Public methods

onGpsStatusChanged

Added in API level 3
void onGpsStatusChanged (int event)

打电话报告GPS状态的变化。 活动号码是以下之一:

When this method is called, the client should call getGpsStatus(GpsStatus) to get additional status information.

Parameters
event int: event number for this notification

Hooray!