public final class Buruberi
extends java.lang.Object
BluetoothStack
instances.Constructor and Description |
---|
Buruberi() |
Modifier and Type | Method and Description |
---|---|
BluetoothStack |
build()
Creates a new
BluetoothStack instance using the parameters of this builder. |
Buruberi |
setApplicationContext(android.content.Context applicationContext)
Required
|
Buruberi |
setErrorListener(ErrorListener errorListener)
Sets the error listener to call whenever an error occurs within the
BluetoothStack . |
Buruberi |
setLoggerFacade(LoggerFacade loggerFacade)
Sets the logger facade to be used by the
BluetoothStack . |
public Buruberi setApplicationContext(android.content.Context applicationContext)
Sets the application context used by the BluetoothStack
.
Calls #getApplicationContext()
on the given Context
.
public Buruberi setErrorListener(ErrorListener errorListener)
BluetoothStack
.
Builder provides a default implementation that does nothing.
public Buruberi setLoggerFacade(LoggerFacade loggerFacade)
BluetoothStack
.
Builder provides a default implementation that logs to logcat.
public BluetoothStack build()
BluetoothStack
instance using the parameters of this builder.java.lang.IllegalStateException
- if any required fields are missing.