java.lang.Object | |
↳ | com.samsung.android.knox.kpm.KnoxPushServiceCallback |
This class is callback class to get knox push service result.
API level 35 |
KNOX 3.8 |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This API is invoked when registerDevice process is finished.
| |||||||||||
This API is invoked when isRegistered process is finished.
| |||||||||||
This API is invoked when unRegisterDevice process is finished.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This API is invoked when registerDevice process is finished.
result | A KnoxPushServiceResult instance including result of registerDevice. result.getError(): KnoxPushServiceResult.ERROR_NONE if device is registered successfully. result.getReason(): return error reason. result.getDeviceId(): return deviceId if device is registered successfully. |
---|
Used to get result of registerDevice.
// A |
API level 35 |
KNOX 3.8 |
This API is invoked when isRegistered process is finished.
result | A KnoxPushServiceResult instance including result of isRegistered. result.getError(): KnoxPushServiceResult.REGISTERED if device is registered, KnoxPushServiceResult.NOT_REGISTERED if device is not registered. result.getReason(): return error reason. |
---|
Used to get result of isRegistered.
// A |
API level 35 |
KNOX 3.8 |
This API is invoked when unRegisterDevice process is finished.
result | A KnoxPushServiceResult instance including result of unRegisterDevice. result.getError(): KnoxPushServiceResult.ERROR_NONE if device is unregistered successfully. result.getReason(): return error reason. |
---|
Used to get result of unRegisterDevice.
// A |
API level 35 |
KNOX 3.8 |