ResultType
- Type of object that represents the result of this method. If the method has
no result, Void can be used as a special case.public interface MSDKMethod<ResultType>
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel a running algorithm.
|
ResultType |
execute()
Performs the algorithm.
|
Float |
getFinishedPercentage()
Returns a number in the interval 0 to 1.0, representing the portion of the task that has
completed, or null if the algorithm has not yet started.
|
ResultType |
getResult()
Returns the result of this algorithm, or null.
|
@Nullable Float getFinishedPercentage()
@Nullable ResultType execute() throws MSDKException
MSDKException
- On any error@Nullable ResultType getResult()
void cancel()
Copyright © 2019. All rights reserved.