目录

CLASS info
public final class ScanOption implements Parcelable
Represents options for scanning devices.

Nested Class Summary

TypeNameDesc
ClassScanOption.BuilderBuilder class for ScanOption.

Field Summary

TypeNameDesc
public static final CreatorCREATOR

Public Method Summary

Return typeMethod name
booleanequals(Object other)
Checks whether any other object is the same as this object.
PolicygetPolicy()
Obtains the current policy of the ScanOption object.
inthashCode()
Obtains the hash value.
voidwriteToParcel(Parcel dest, int flags)
Writes this value into a dest parcel.

Public Methods

Method
public boolean equals(Object other)
Checks whether any other object is the same as this object.

Parameters

Parameter nameParameter desc
otherOther object.
Method
public Policy getPolicy()
Obtains the current policy of the ScanOption object.
Method
public int hashCode()
Obtains the hash value.
Method
public void writeToParcel(Parcel dest, int flags)
Writes this value into a dest parcel.

Parameters

Parameter nameParameter desc
destParcel to which this object is written.
flagsWriting mode.