共用方式為


ServiceState.IsSearching Property

Definition

This indicates whether the device is searching for service.

public virtual bool IsSearching { [Android.Runtime.Register("isSearching", "()Z", "GetIsSearchingHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("isSearching", "()Z", "GetIsSearchingHandler", ApiSince=30)>]
member this.IsSearching : bool

Property Value

true whenever the modem is searching for service.

Attributes

Remarks

This indicates whether the device is searching for service.

This API reports the modem searching status for AccessNetworkConstants#TRANSPORT_TYPE_WWAN (cellular) service in either NetworkRegistrationInfo#DOMAIN_CS or NetworkRegistrationInfo#DOMAIN_PS. This API will not report searching status for AccessNetworkConstants#TRANSPORT_TYPE_WLAN.

Java documentation for android.telephony.ServiceState.isSearching().

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