public class NFCIntentDeviceFactory
extends java.lang.Object
Create an device from an NFC intent tap
Modifier and Type | Class and Description |
---|---|
class |
NFCIntentDeviceFactory.CannotSwitchProtocolException |
static class |
NFCIntentDeviceFactory.EventType |
class |
NFCIntentDeviceFactory.InvalidWifiConfigurationException |
class |
NFCIntentDeviceFactory.NfcPairingException |
Modifier and Type | Field and Description |
---|---|
<any> |
initialProtocolFactoryBuilder
Useful for dependency injection and testing.
|
boolean |
switchToPreferredProtocol |
Constructor and Description |
---|
NFCIntentDeviceFactory(android.content.Intent intent,
boolean allowProtocolChange) |
Modifier and Type | Method and Description |
---|---|
IoTizeDevice |
create(android.content.Context context) |
io.reactivex.Observable<<any>> |
getEventStreams() |
public boolean switchToPreferredProtocol
@Nullable public <any> initialProtocolFactoryBuilder
public NFCIntentDeviceFactory(android.content.Intent intent, boolean allowProtocolChange)
public IoTizeDevice create(android.content.Context context) throws java.lang.Exception, NFCIntentDeviceFactory.CannotSwitchProtocolException
java.lang.Exception
NFCIntentDeviceFactory.CannotSwitchProtocolException
public io.reactivex.Observable<<any>> getEventStreams()