JubeatPlus 3.9.11
Loading...
Searching...
No Matches
PushNotificationView.h
Go to the documentation of this file.
1
9
10#import <UIKit/UIKit.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
18@interface PushNotificationView : UIView
19
27- (instancetype)initWithFrame:(CGRect)frame delegate:(nullable id)delegate;
28
33- (void)startNotification;
34
39- (void)stopNotification;
40
45@property(nonatomic, readonly, getter=isActive) BOOL active;
46
47@end
48
49NS_ASSUME_NONNULL_END
50
51// code: language=Objective-C
52// kate: hl Objective-C;
53// vim: set ft=objc :
A banner that slides a queued notification in from off-screen, holds it, and slides it out.
Definition PushNotificationView.h:19
void stopNotification()
Slides the current notification out and stops displaying.
Definition PushNotificationView.m:158
BOOL active
Whether a notification is currently being displayed.
Definition PushNotificationView.h:45
void startNotification()
Starts displaying notifications if not already active.
Definition PushNotificationView.m:101