JubeatPlus 3.9.11
Loading...
Searching...
No Matches
JcfDownloader.h
Go to the documentation of this file.
1
15
16#import <Foundation/Foundation.h>
17
18#import "EditorIDManager.h"
19
20@class JcfDownloader;
21@class jubeatLabAccess;
22
23NS_ASSUME_NONNULL_BEGIN
24
29@protocol JcfDownloaderDelegate <NSObject>
30@optional
36- (void)errorSequenceDownload:(nullable JcfDownloader *)downloader msgStr:(nullable NSString *)msg;
42- (void)finishedSequenceDownload:(nullable JcfDownloader *)downloader
43 tuneID:(nullable NSString *)tuneID;
48- (void)finishedSequenceOverCap:(nullable JcfDownloader *)downloader;
53- (void)finishedSequenceDownload:(nullable JcfDownloader *)downloader;
59- (void)finishedSequenceNotExistPack:(nullable JcfDownloader *)downloader
60 packID:(nullable NSString *)packID;
61@end
62
67
74- (nullable NSURL *)createCustomSequenceURL:(nullable id)customID;
75
83- (instancetype)initWithCustomID:(nullable NSString *)customID delegate:(nullable id)delegate;
84
89- (void)downloadStart;
90
96- (void)jubeatLabAccessProceed:(nullable jubeatLabAccess *)access;
97
103- (void)jubeatLabAccessError:(nullable jubeatLabAccess *)access;
104
110
117- (BOOL)isExistJbtFile:(unsigned int)tuneID;
118
124- (void)jubeatLabAccessFinished:(nullable jubeatLabAccess *)access;
125
131- (void)successIDDownload:(nullable id)sender;
132
139- (void)errorIDDownload:(nullable id)sender msgStr:(nullable NSString *)msg;
140
141@end
142
143NS_ASSUME_NONNULL_END
144
145// code: language=Objective-C
146// kate: hl Objective-C;
147// vim: set ft=objc :
The editor identifier store, backed by the keychain.
Downloads a shared edit chart by its custom id.
Definition JcfDownloader.h:66
void downloadFailedDelegate()
Relays a plain download failure to the delegate and drops the sequence downloader.
Definition JcfDownloader.m:210
void downloadStart()
Starts the jubeatLab sequence-download API for the custom id.
Definition JcfDownloader.m:177
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