JubeatPlus 3.9.11
Loading...
Searching...
No Matches
<JcfUploaderDelegate> Protocol Reference

What a JcfUploader tells its owner. More...

#include <JcfUploader.h>

Inheritance diagram for <JcfUploaderDelegate>:
Collaboration diagram for <JcfUploaderDelegate>:

Instance Methods

(void) - uploadSuccess:uploadInfo:
 The upload succeeded, with the server's returned info.
(void) - uploadNG:ngWords:
 The upload was rejected for NG words (title, editor, and comment).
(void) - uploadError:msgStr:
 The upload failed, with an optional user-facing message.

Detailed Description

What a JcfUploader tells its owner.

The delegate is a bare id the binary messages dynamically behind -respondsToSelector: ; this protocol only documents the selectors.

Method Documentation

◆ uploadError:msgStr:

- (void) uploadError: (nullable id) sender
msgStr: (nullable NSString *) msg 
optionalrequired

The upload failed, with an optional user-facing message.

Parameters
senderThe uploader reporting the failure.
msgThe message to show, or nil when there is none.

◆ uploadNG:ngWords:

- (void) uploadNG: (nullable id) sender
ngWords: (nullable NSArray *) ngWords 
optionalrequired

The upload was rejected for NG words (title, editor, and comment).

Parameters
senderThe uploader reporting the rejection.
ngWordsThe rejected words, in title, editor, and comment order.

◆ uploadSuccess:uploadInfo:

- (void) uploadSuccess: (nullable id) sender
uploadInfo: (nullable NSDictionary *) info 
optional

The upload succeeded, with the server's returned info.

Parameters
senderThe uploader reporting the result.
infoThe server's response.

The documentation for this protocol was generated from the following file: