Class Info |
|---|
public static final classInformationController.Builder Builder of a privacy information collection controller. |
Constructor name |
|---|
Builder() Builds a privacy information collection controller. |
Qualifier and Type | Method Name and Description |
|---|---|
build() Builds an InformationController object. | |
InformationController.Builder | setUseWifi(Boolean useWifi) Sets whether to collect Wi-Fi information. |
InformationController.Builder | setUseBluetooth(Boolean useBluetooth) Sets whether to collect Bluetooth information. |
InformationController.Builder | setUseAndroidId(Boolean useAndroidId) Sets whether to collect the Android ID. |
InformationController.Builder | setUseMemorySize(Boolean useMemorySize) Sets whether to collect device memory information. |
Method |
|---|
public final InformationController build() Builds an InformationController object. |
Returns
Type | Description |
|---|---|
An InformationController object. |
Method |
|---|
public Builder setUseWifi(Boolean useWifi) Sets whether to collect Wi-Fi information. |
Parameters
Name | Description |
|---|---|
useWifi | Indicates whether to collect Wi-Fi information. (Wi-Fi information will be collected by default if this parameter is not set.) |
Returns
Type | Description |
|---|---|
InformationController.Builder | InformationController builder. |
Method |
|---|
public Builder setUseBluetooth(Boolean useBluetooth) Sets whether to collect Bluetooth information. |
Parameters
Name | Description |
|---|---|
useBluetooth | Indicates whether to collect Bluetooth information. (Bluetooth information will be collected by default if this parameter is not set.) |
Returns
Type | Description |
|---|---|
InformationController.Builder | InformationController builder. |
Method |
|---|
public Builder setUseAndroidId(Boolean useAndroidId) Sets whether to collect the Android ID. |
Parameters
Name | Description |
|---|---|
useAndroidId | Indicates whether to collect the Android ID. (The Android ID will be collected by default if this parameter is not set.) |
Returns
Type | Description |
|---|---|
InformationController.Builder | InformationController builder. |
Method |
|---|
public Builder setUseMemorySize(Boolean useMemorySize) Sets whether to collect device memory information. |
Parameters
Name | Description |
|---|---|
useMemorySize | Indicates whether to collect device memory information. (Device memory information will be collected by default if this parameter is not set.) |
Returns
Type | Description |
|---|---|
InformationController.Builder | InformationController builder. |