LMCurrencyManager Class Reference
Inherits from | NSObject |
---|---|
Declared in | LMCurrencyManager.h LMCurrencyManager.m |
Other Methods
– managerGetFirstLocalPriceWithIdentifier:
获取首充本地币
- (NSString *_Nullable)managerGetFirstLocalPriceWithIdentifier:(NSString *)identifier
Parameters
identifier |
档位id |
---|
Declared In
LMCurrencyManager.h
– managerGetDailyLocalPriceWithIdentifier:
获取充值折扣本地币
- (NSString *_Nullable)managerGetDailyLocalPriceWithIdentifier:(NSString *)identifier
Parameters
identifier |
档位id |
---|
Declared In
LMCurrencyManager.h
– managerGetIapProductList
获取缓存档位信息(apple service)
- (NSArray *_Nullable)managerGetIapProductList
Declared In
LMCurrencyManager.h
– managerRequestProductData:completion:
获取档位信息
- (void)managerRequestProductData:(NSSet<NSString*> *)identifiers completion:(void ( ^ _Nullable ) ( NSArray<SKProduct*> *_Nullable products ))completion
Parameters
identifiers |
产品id集合 |
---|---|
completion |
回调 |
Declared In
LMCurrencyManager.h
– managerLocalCurrencyWithIdentifiers:completed:
获取本地货币信息
- (void)managerLocalCurrencyWithIdentifiers:(NSSet<NSString*> *)identifiers completed:(void ( ^ ) ( NSDictionary *_Nonnull ))completed
Parameters
identifiers |
产品id集合 |
---|---|
completed |
回调 |
Declared In
LMCurrencyManager.h
Extension Methods
localCurrencyDict
缓存当地币信息
@property (nonatomic, strong) NSMutableDictionary<NSString*NSDictionary*> *localCurrencyDict
Declared In
LMCurrencyManager.m
iapProductDict
缓存IAP档位信息
@property (nonatomic, strong) NSMutableDictionary<NSString*SKProduct*> *iapProductDict
Declared In
LMCurrencyManager.m
localCompleted
本地币回调
@property (nonatomic, copy) void ( ^ ) ( NSDictionary *items ) localCompleted
Declared In
LMCurrencyManager.m
productCompleted
货币数据回调
@property (nonatomic, copy) void ( ^ ) ( NSArray<SKProduct*> *items ) productCompleted
Declared In
LMCurrencyManager.m