JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SettingsPolicyViewController.h
Go to the documentation of this file.
1
11
12#import <UIKit/UIKit.h>
13
14#import "Downloader.h"
15
16NS_ASSUME_NONNULL_BEGIN
17
28
32@interface SettingsPolicyViewController : UIViewController <DownloaderDelegate>
33
41- (instancetype)initViewController:(SettingsPolicyType)type;
42
48- (void)loadView;
49
56- (void)downloaderFinished:(nullable Downloader *)downloader;
57
63- (void)downloaderError:(nullable Downloader *)downloader;
64
65@end
66
67NS_ASSUME_NONNULL_END
68
69// code: language=Objective-C
70// kate: hl Objective-C;
71// vim: set ft=objc :
The HTTP client.
SettingsPolicyType
The legal document a SettingsPolicyViewController downloads and displays.
Definition SettingsPolicyViewController.h:22
@ SettingsPolicyTypeCurrency
The in-game currency usage terms.
Definition SettingsPolicyViewController.h:24
@ SettingsPolicyTypeContent
The "jubeat plus" content usage terms.
Definition SettingsPolicyViewController.h:23
@ SettingsPolicyTypePaymentServices
The Payment Services Act notice.
Definition SettingsPolicyViewController.h:25
@ SettingsPolicyTypeMinors
The notice for minors.
Definition SettingsPolicyViewController.h:26
A one-shot HTTP request that reports its result to a delegate.
Definition Downloader.h:52
A view controller presenting a downloaded policy/terms document in the settings screen.
Definition SettingsPolicyViewController.h:32
void loadView()
Builds the view: a white background and a non-editable UITextView, then kicks off the signed download...
Definition SettingsPolicyViewController.m:89
Performs a single HTTP request.
Definition Downloader.h:30