| java.lang.Object |
| ↳ |
masonamerica.platform.bluetooth.PairingRequest |
Summary
| Constants |
| int |
VERSION |
Version of the parcel format, for forward compatibility.
|
|
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
| int |
CONTENTS_FILE_DESCRIPTOR |
|
| int |
PARCELABLE_ELIDE_DUPLICATES |
|
| int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
|
abstract
int
|
describeContents()
|
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Constants
public
static
final
int
VERSION
Version of the parcel format, for forward compatibility.
Constant Value:
1
(0x00000001)
Fields
Protected Constructors
protected
PairingRequest
(Parcel in)
Public Methods
public
int
describeContents
()
public
String
getAddress
()
public
long
getTimeoutMs
()
public
static
PairingRequest
justWorks
(String address, long timeoutMs)
Auto-confirm a "Just Works" pairing (no passkey) for address within timeoutMs.
| Parameters |
address |
String: target device Bluetooth address |
timeoutMs |
long: how long the auto-confirmation window stays open
|
public
String
toString
()
public
void
writeToParcel
(Parcel dest, int flags)
| Parameters |
dest |
Parcel |
flags |
int |