Class Info |
|---|
public final class ScanOption implements Parcelable 调用startScan(String, ScanEndpointCallback, ScanOption)时,需要传入的选项。 |
Qualifier and Type | Class Name and Description |
|---|---|
static final class | ScanOption的构造类。 |
Qualifier and Type | Field and Description |
|---|---|
static final Parcelable.Creator<ScanOption> | 实现Parcelable接口必须提供的实例。 |
Qualifier and Type | Method Name and Description |
|---|---|
int | 返回当前Parcelable对象描述。 |
boolean | equals(Object other) 判断其他对象是否与本对象相同。 |
| 获取ScanOption对象的连接策略。 | |
int | hashCode() 获取哈希值。 |
void | writeToParcel(Parcel dest, int flags) 序列化打包,把值写入dest容器。 |
Fields |
|---|
public static final Parcelable.Creator<ScanOption> CREATOR 实现Parcelable接口必须提供的实例。 |
Method |
|---|
public int describeContents() 返回当前Parcelable对象描述。 |
Returns
Type | Description |
|---|---|
int | 当前Parcelable对象描述。返回值如下:
|
Method |
|---|
public boolean equals(Object other) 判断其他对象是否与本对象相同。 |
Parameters
Name | Description |
|---|---|
other | 其他对象。 |
Returns
Type | Description |
|---|---|
boolean |
|