Język

ScanType Enum

Definition

Identifies active scanning, passive scanning, or an unknown scan type.

public enum ScanType
type ScanType = 
Inheritance
ScanType

Fields

Name Value Description
Unknown 0

Scan type is unknown.

Android reference for android.bluetooth.le.ScanSettings.SCAN_TYPE_UNKNOWN.

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.

Passive 1

Does passive scanning, scan responses are ignored.

Android reference for android.bluetooth.le.ScanSettings.SCAN_TYPE_PASSIVE.

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.

Active 2

Does active scanning, scan results are delivered upon scan responses arrive.

Android reference for android.bluetooth.le.ScanSettings.SCAN_TYPE_ACTIVE.

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.

Remarks

Active scanning uses scan responses. Passive scanning does not wait for scan responses before delivering results.

Applies to