Interface PendingOutOfBandOperation
public interface PendingOutOfBandOperation
The object defining a non-redeemed out-of-band operation as defined in the
in the Get Device Out-of-Band Operations
service.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionAdditional information that is not included in theOutOfBandPayload
.long
The time the out-of-band operation was created (i.e.The dispatch channel used by the operation.payload()
TheOutOfBandPayload
object that can be used with theOutOfBandOperation
to continue with the operation.
-
Method Details
-
creationTimeInEpochMillis
long creationTimeInEpochMillis()The time the out-of-band operation was created (i.e. the time the dispatch occurred). This can be used by the mobile clients to know which is the latest operation for the device.- Returns:
- time the operation was created
-
dispatchChannel
DispatchChannel dispatchChannel()The dispatch channel used by the operation. This provides information about how the out-of-band operation is transmitted to the mobile device.- Returns:
- the name of the dispatch channel used by the operation.
-
payload
OutOfBandPayload payload()TheOutOfBandPayload
object that can be used with theOutOfBandOperation
to continue with the operation.- Returns:
- the
OutOfBandPayload
.
-
additionalInformation
Additional information that is not included in theOutOfBandPayload
. For instance, in this is an operation dispatched using Firebase Cloud Messaging (push notification), this contains the push notification information in JSON format, as provided as input of the dispatch request.- Returns:
- additional information that was used during the operation creation
-