Mobile API Reference  MicroStrategy 2019
<NetworkResponseHandler > Protocol Reference

#import <MSINetworkRequestBase.h>

Inheritance diagram for <NetworkResponseHandler >:

Instance Methods

(void) - onSuccess:request:
 
(void) - onFailure:request:
 
(void) - onProgress:Total:request:
 
(void) - onIncrementalData:request:
 

Detailed Description

Delegate to handle network response

Method Documentation

◆ onFailure:request:()

- (void NetworkResponseHandler) onFailure: (NSError *)  error
request: (id< MSINetworkRequest >)  request 

◆ onIncrementalData:request:()

- (void NetworkResponseHandler) onIncrementalData: (NSData *)  data
request: (id< MSINetworkRequest >)  request 
optional

◆ onProgress:Total:request:()

- (void NetworkResponseHandler) onProgress: (long long)  loadedSize
Total: (long long)  totalSize
request: (id< MSINetworkRequest >)  request 
optional

◆ onSuccess:request:()

- (void NetworkResponseHandler) onSuccess: (NSData *)  data
request: (id< MSINetworkRequest >)  request