目录

InformationController.Builder

Class Info

public static final classInformationController.Builder

隐私信息采集控制构造器。

Public Constructor Summary

Constructor name

Builder()

隐私信息采集控制构造器构造函数。

Public Method Summary

Qualifier and Type

Method Name and Description

InformationController

build()

构造InformationController隐私信息采集控制对象。

InformationController.Builder

setUseWifi(Boolean useWifi)

设置是否采集WIFI信息。

InformationController.Builder

setUseBluetooth(Boolean useBluetooth)

设置是否采集蓝牙信息。

InformationController.Builder

setUseAndroidId(Boolean useAndroidId)

设置是否采集Android ID信息。

InformationController.Builder

setUseMemorySize(Boolean useMemorySize)

设置是否采集设备内存信息。

Public Constructors

[h2]Builder

Constructor

public Builder()

隐私信息采集控制构造器构造函数。

Public Methods

[h2]build

Method

public final InformationController build()

返回一个InformationController。

Returns

Type

Description

InformationController

返回InformationController。

[h2]setUseWifi

Method

public Builder setUseWifi(Boolean useWifi)

设置是否采集WIFI信息。

Parameters

Name

Description

useWifi

是否采集WIFI信息(不设置默认采集)。

Returns

Type

Description

InformationController.Builder

返回InformationController的构造器。

[h2]setUseBluetooth

Method

public Builder setUseBluetooth(Boolean useBluetooth)

设置是否采集蓝牙信息

Parameters

Name

Description

useBluetooth

是否采集蓝牙信息(不设置默认采集)。

Returns

Type

Description

InformationController.Builder

返回InformationController的构造器。

[h2]setUseAndroidId

Method

public Builder setUseAndroidId(Boolean useAndroidId)

设置是否采集Android ID信息。

Parameters

Name

Description

useAndroidId

是否采集Android ID信息(不设置默认采集)。

Returns

Type

Description

InformationController.Builder

返回InformationController的构造器。

[h2]setUseMemorySize

Method

public Builder setUseMemorySize(Boolean useMemorySize)

设置是否采集设备内存信息。

Parameters

Name

Description

useMemorySize

是否采集设备内存信息(不设置默认采集)。

Returns

Type

Description

InformationController.Builder

返回InformationController的构造器。