14 lines
421 B
C
14 lines
421 B
C
|
#import <Flutter/Flutter.h>
|
||
|
|
||
|
@interface AudioSource : NSObject
|
||
|
|
||
|
@property (readonly, nonatomic) NSString* sourceId;
|
||
|
|
||
|
- (instancetype)initWithId:(NSString *)sid;
|
||
|
- (int)buildSequence:(NSMutableArray *)sequence treeIndex:(int)treeIndex;
|
||
|
- (void)findById:(NSString *)sourceId matches:(NSMutableArray<AudioSource *> *)matches;
|
||
|
- (NSArray *)getShuffleOrder;
|
||
|
- (int)shuffle:(int)treeIndex currentIndex:(int)currentIndex;
|
||
|
|
||
|
@end
|