JubeatPlus 3.9.11
Loading...
Searching...
No Matches
StorePromotion.h
Go to the documentation of this file.
1
13
14#import <Foundation/Foundation.h>
15
16#import "StorePackInfo.h"
17
18NS_ASSUME_NONNULL_BEGIN
19
23@interface StorePromotion : NSObject
24
29@property(nonatomic, readonly) NSUInteger genreIndex;
30
35@property(nonatomic, readonly, nullable) StorePackInfo *packInfo;
36
41@property(nonatomic, readonly, nullable) NSString *imageURL;
42
47@property(nonatomic, readonly, nullable) NSArray *sampleList;
48
62- (instancetype)initWithPackInfo:(nullable StorePackInfo *)packInfo
63 imageURL:(nullable NSString *)imageURL
64 sampleURL:(nullable NSArray *)sampleURL;
65
77- (instancetype)initWithGenreIndex:(NSUInteger)genreIndex imageURL:(nullable NSString *)imageURL;
78
84- (nullable NSString *)getSampleURL;
85
94- (nullable NSString *)getSampleName;
95
96@end
97
98NS_ASSUME_NONNULL_END
99
100// code: language=Objective-C
101// kate: hl Objective-C;
102// vim: set ft=objc :
One purchasable pack in the store.
A pack's identity, name, price, store flags, and track list.
Definition StorePackInfo.h:18
A promoted pack or genre, with its banner artwork and, for a pack, its sample list.
Definition StorePromotion.h:24
nullable NSString * getSampleURL()
The chosen sample's audio address.
Definition StorePromotion.m:53
NSArray * sampleList
The pack's sample tracks, one dictionary each.
Definition StorePromotion.h:47
nullable NSString * getSampleName()
The chosen sample's track name.
Definition StorePromotion.m:61
NSString * imageURL
The banner artwork's address, as text.
Definition StorePromotion.h:41
NSUInteger genreIndex
The promoted genre's index.
Definition StorePromotion.h:29
StorePackInfo * packInfo
The promoted pack.
Definition StorePromotion.h:35