public static interface MpnDevice.MpnDeviceCreationListener
Modifier and Type | Method and Description |
---|---|
void |
onFailure(java.lang.Exception cause)
Event handler called when the creation of an MpnDevice failed for some reason.
|
void |
onSuccess(MpnDevice device)
Event handler called when an MpnDevice has been successfully created.
|
void onSuccess(@Nonnull MpnDevice device)
device
- the created MpnDevice instancevoid onFailure(@Nonnull java.lang.Exception cause)
cause
- the failure cause