The IToiOperationObserver interface contains the callbacks that can be received as a result of starting an asynchronous operation.
import "IToiOperationObserver.idl";
Public Member Functions | |
oneway void | OnOperationResult (in IToiOperationManager::TToiOperationInfo operation, in IToiOperationManager::TToiOperationResult result) |
oneway void IToiOperationObserver::OnOperationResult | ( | in IToiOperationManager::TToiOperationInfo | operation, | |
in IToiOperationManager::TToiOperationResult | result | |||
) |
This event is sent when a operation result is notified. The type of result is indicated by the result argument and need to be retrieved from the service that executes the operation. An operation may provide multiple result notifications during its execution time, not only one callback when the operation is completed (or failed). This is up to the implementation of each asynchronous operation.
operation | Detailed operation information. | |
result | What type of result data that is available (if any). |