Język

RouteDiscoveryPreference.ShouldPerformActiveScan Method

Definition

Gets whether active scanning should be performed.

[Android.Runtime.Register("shouldPerformActiveScan", "()Z", "", ApiSince=30)]
public bool ShouldPerformActiveScan();
[<Android.Runtime.Register("shouldPerformActiveScan", "()Z", "", ApiSince=30)>]
member this.ShouldPerformActiveScan : unit -> bool

Returns

Whether this preference requests active scanning, not confirmation that a scan is currently running.

Attributes

Remarks

Gets whether active scanning should be performed.

If any of discovery preferences sets this as true, active scanning will be performed regardless of other discovery preferences.

Java documentation for android.media.RouteDiscoveryPreference.shouldPerformActiveScan().

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