JubeatPlus 3.9.11
Loading...
Searching...
No Matches
JcfUploader.h
Go to the documentation of this file.
1
12
13#import <Foundation/Foundation.h>
14
15#import "EditorIDManager.h"
16@class jubeatLabAccess;
17
18NS_ASSUME_NONNULL_BEGIN
19
24@protocol JcfUploaderDelegate <NSObject>
25@optional
31- (void)uploadSuccess:(nullable id)sender uploadInfo:(nullable NSDictionary *)info;
37- (void)uploadNG:(nullable id)sender ngWords:(nullable NSArray *)ngWords;
43- (void)uploadError:(nullable id)sender msgStr:(nullable NSString *)msg;
44@end
45
49@interface JcfUploader : NSObject <EditorIDManagerDelegate>
50
57- (nullable NSString *)getKeyString:(nullable id)key;
58
66- (instancetype)initWithData:(nullable NSData *)data delegate:(nullable id)delegate;
67
72- (void)start;
73
78- (void)uploadStart;
79
85- (void)sendErrorDelegate:(nullable NSString *)msg;
86
92- (void)jubeatLabAccessProceed:(nullable jubeatLabAccess *)access;
93
99- (void)jubeatLabAccessError:(nullable jubeatLabAccess *)access;
100
106- (void)jubeatLabAccessFinished:(nullable jubeatLabAccess *)access;
107
113- (void)successIDDownload:(nullable id)sender;
114
121- (void)errorIDDownload:(nullable id)sender msgStr:(nullable NSString *)msg;
122
123@end
124
125NS_ASSUME_NONNULL_END
126
127// code: language=Objective-C
128// kate: hl Objective-C;
129// vim: set ft=objc :
The editor identifier store, backed by the keychain.
Uploads an edit chart to jubeatLab.
Definition JcfUploader.h:49
void start()
Begins the upload, minting an editor id first if needed.
Definition JcfUploader.m:86
void uploadStart()
Starts the jubeatLab sequence-upload API for the stored chart data.
Definition JcfUploader.m:97
Builds and holds an HTTP request to the jubeatLab API and reports its outcome to a delegate.
Definition jubeatLabAccess.h:26
Told how the editor-identifier provisioning download finished.
Definition EditorIDManager.h:22