Declared in TWTRAPIClient.h

Block Definition

TWTRRequestEmailCompletion

Completion block called when a request for the user’s email succeeds or fails.

typedef void (^TWTRRequestEmailCompletion) (NSString *_Nullable, email ,, NSError *_Nullable, error ), ; @interface, TWTRAPIClient :, NSObject @property, ( nonatomic, copy ,, readonly ,, nullable ), NSString *userID, ; -, ( instancetype, ) initWithUserID, : (, nullable NSString, * ), userID ;, + (, instancetype ), clientWithCurrentUser ;, - (, NSURLRequest *), URLRequestWithMethod :, ( NSString, * ), method URL, : (, NSString *), URLString parameters, : (, nullable NSDictionary, * ), parameters error, : (, NSError **), error ;, - (, NSProgress *), sendTwitterRequest :, ( NSURLRequest, * ), request completion, : (, TWTRNetworkCompletion ), completion ;, - (, void ), loadUserWithID :, ( NSString, * ), userID completion, : (, TWTRLoadUserCompletion ), completion ;, - (, void ), loadTweetWithID :, ( NSString, * ), tweetID completion, : (, TWTRLoadTweetCompletion ), completion ;, - (, void ), loadTweetsWithIDs :, ( NSArray, * ), tweetIDStrings completion, : (, TWTRLoadTweetsCompletion ), completion ;, - (, void ), uploadMedia :, ( NSData, * ), media contentType, : (, NSString *), contentType completion, : (, TWTRMediaUploadResponseCompletion ), completion ;, - (, void ), sendTweetWithText :, ( NSString, * ), tweetText completion, : (, TWTRSendTweetCompletion ), completion ;, - (, void ), sendTweetWithText :, ( NSString, * ), tweetText image, : (, UIImage *), image completion, : (, TWTRSendTweetCompletion ), completion ;, - (, void ), sendTweetWithText :, ( NSString, * ), tweetText videoData, : (, NSData *), videoData completion, : (, TWTRSendTweetCompletion ), completion ;, - (, void ), requestEmailForCurrentUser :, ( TWTRRequestEmailCompletion, ) completion, ; @end, NS_ASSUME_NONNULL_END )

Declared In

TWTRAPIClient.h