radattribution-sdk-android / com.rakuten.attribution.sdk / Result
sealed class Result<out T>
Container to return result of asynchronous methods
T
- type of result of asynchronous operation
Name | Summary |
---|---|
Error | class Error : Result < Nothing > |
Success | class Success<T> : Result < T > |
Name | Summary |
---|---|
dealWithError | fun dealWithError(onError: ( Result.Error ) -> Nothing ): T util method to handle errors |
Name | Summary |
---|---|
Error | class Error : Result < Nothing > |
Success | class Success<T> : Result < T > |