GPKGMediaDao
Objective-C
@interface GPKGMediaDao : GPKGUserCustomDao
Swift
class GPKGMediaDao : GPKGUserCustomDao
User Media DAO for reading user media data tables
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDao:(GPKGUserCustomDao *)dao;
Swift
init!(dao: GPKGUserCustomDao!)
Parameters
dao
user custom data access object
Return Value
new media dao
-
Initialize
Declaration
Objective-C
- (instancetype)initWithDao:(GPKGUserCustomDao *)dao andTable:(GPKGMediaTable *)mediaTable;
Swift
init!(dao: GPKGUserCustomDao!, andTable mediaTable: GPKGMediaTable!)
Parameters
dao
user custom data access object
mediaTable
media table
Return Value
new media dao
-
Get the media table
Return Value
media table
-
Get the media row for the current result in the result set
Declaration
Objective-C
- (GPKGMediaRow *)row:(GPKGResultSet *)results;
Swift
func row(_ results: GPKGResultSet!) -> GPKGMediaRow!
Parameters
results
result set
Return Value
media row
-
Create a new media row
Return Value
media row
-
Get the media rows that exist with the provided ids
Declaration
Objective-C
- (NSArray<GPKGMediaRow *> *)rowsWithIds:(NSArray<NSNumber *> *)ids;
Swift
func rows(withIds ids: [NSNumber]!) -> [GPKGMediaRow]!
Parameters
ids
list of ids
Return Value
media rows