JubeatPlus 3.9.11
Loading...
Searching...
No Matches
NotificationPageViewController.h
Go to the documentation of this file.
1
16
17#import <UIKit/UIKit.h>
18
19#import "EditorIDManager.h"
20
22
23NS_ASSUME_NONNULL_BEGIN
24
28@protocol NotificationPageViewControllerDelegate <NSObject>
29
30@optional
31
38- (void)clickPackInfomation:(nullable NSDictionary<NSString *, NSString *> *)packInfomation;
39
46- (void)moveStore:(nullable id)store packID:(nullable NSString *)packID;
47
48@end
49
53// clang-format off
54// One protocol per line: a continuation line that begins with ": Base <" is read by Doxygen as
55// undocumented ivars named after the trailing protocols.
56@interface NotificationPageViewController : UIViewController <UIWebViewDelegate,
58// clang-format on
59
66- (void)initPage:(nullable id<NotificationPageViewControllerDelegate>)delegate;
67
74
83- (instancetype)init:(nullable id<NotificationPageViewControllerDelegate>)delegate;
84
92- (instancetype)initWithURL:(nullable NSURL *)url
93 delegate:(nullable id<NotificationPageViewControllerDelegate>)delegate;
94
105- (nullable NSURLRequest *)uiWebView:(nullable id)uiWebView
106 resource:(nullable id)resource
107 willSendRequest:(nullable NSMutableURLRequest *)request
108 redirectResponse:(nullable NSURLResponse *)redirectResponse
109 fromDataSource:(nullable id)dataSource;
110
122- (BOOL)webView:(UIWebView *)webView
123 shouldStartLoadWithRequest:(NSURLRequest *)request
124 navigationType:(UIWebViewNavigationType)navigationType;
125
130- (void)stopIndicator;
131
138- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error;
139
145- (void)webViewDidStartLoad:(UIWebView *)webView;
146
152- (void)webViewDidFinishLoad:(UIWebView *)webView;
153
160- (void)moveStore:(nullable id)store packID:(nullable NSString *)packID;
161
167- (void)viewWillDisappear:(BOOL)animated;
168
176- (void)errorIDDownload:(nullable id)manager msgStr:(nullable NSString *)msgStr;
177
184- (void)successIDDownload:(nullable id)manager;
185
193- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation;
194
200- (UIInterfaceOrientationMask)supportedInterfaceOrientations;
201
207- (BOOL)shouldAutorotate;
208
209@end
210
211NS_ASSUME_NONNULL_END
212
213// code: language=Objective-C
214// kate: hl Objective-C;
215// vim: set ft=objc :
The editor identifier store, backed by the keychain.
A view controller presenting the notification page in a UIWebView.
Definition NotificationPageViewController.h:57
void notificationRequest()
Loads the notification request into the web view.
Definition NotificationPageViewController.m:100
UIInterfaceOrientationMask supportedInterfaceOrientations()
The supported interface orientations: portrait and portrait-upside-down.
Definition NotificationPageViewController.m:270
void stopIndicator()
Stops and removes the loading indicator.
Definition NotificationPageViewController.m:201
BOOL shouldAutorotate()
Whether the controller supports autorotation; always YES.
Definition NotificationPageViewController.m:276
Told how the editor-identifier provisioning download finished.
Definition EditorIDManager.h:22