Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
java.lang.Object |---com.huawei.wearengine.p2p.FileIdentification.Builder public static class FileIdentification.Builder extends java.lang.Object |
It is the internal building class of FileIdentification.
Modifier and Type | Method and Description |
|---|---|
FileIdentification | Builder() FileIdentification constructor. |
FileIdentification.Builder | setDescription(java.lang.String description) Sets the description. |
FileIdentification.Builder | setFile(File file) Sets the file whose transfer needs to be canceled. |
public Builder()
Since:
API level 5 (SDK 5.0.1.301)
public FileIdentification.Builder setFile(File file)
It is used to set the file whose transfer needs to be canceled.
Parameters:
Parameter Name | Parameter Description |
|---|---|
file | File whose transfer needs to be canceled. |
Returns:
Object built in FileIdentification.
Since:
API level 5 (SDK 5.0.1.301)
public FileIdentification.Builder setDescription(java.lang.String description)
It is used to set the description of a file.
Parameters:
Parameter Name | Parameter Description |
|---|---|
description | Description of the file whose transfer needs to be canceled. |
Returns:
Object built in FileIdentification.
Since:
API level 5 (SDK 5.0.1.301)