com.samsung.android.sdk.penremote
Interface SpenRemote.ConnectionResultCallback
-
- Enclosing class:
- SpenRemote
public static interface SpenRemote.ConnectionResultCallback
Interface for listening connection result.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
onFailure(int cause)
Called when the Pen framework refuses the connection.void
onSuccess(SpenUnitManager spenUnitManager)
Called when the SpenRemote is successfully connected to the S Pen framework.
-
-
-
Method Detail
-
onSuccess
void onSuccess(SpenUnitManager spenUnitManager)
Called when the SpenRemote is successfully connected to the S Pen framework. The SpenRemote becomes available afterwards.
-
onFailure
void onFailure(int cause)
Called when the Pen framework refuses the connection. The SpenRemote becomes unavailable afterwards.- See Also:
SpenRemote.Error
-
-