C SDK
Loading...
Searching...
No Matches
Data Structures | Typedefs
FileKit

Data Structures

struct  PleyFileKit
 

Typedefs

typedef struct PleyFileKit PleyFileKit
 

Detailed Description


Data Structure Documentation

◆ PleyFileKit

struct PleyFileKit

Data Fields

PleyResult(* get_file_size )(const char *filepath, uint32_t *file_size)
 
void(* read_file )(const char *filepath, uint8_t *buffer, uint32_t buffer_len, PleyBasicCB callback, void *callback_data)
 
PleyResult(* preload_file )(const char *filepath)
 
PleyResult(* get_cloud_storage_path )(const char **ptr)
 
void(* sync_cloud_storage )(PleyBasicCB callback, void *callback_data)
 
PleyResult(* start_file_queue )()
 
PleyResult(* stop_file_queue )()
 

Field Documentation

◆ get_cloud_storage_path

PleyResult(* PleyFileKit::get_cloud_storage_path) (const char **ptr)

◆ get_file_size

PleyResult(* PleyFileKit::get_file_size) (const char *filepath, uint32_t *file_size)
Returns
Can return the following error: PLEY_RESULT_FLK_FILE_NOT_FOUND, PLEY_RESULT_FLK_FILE_TOO_BIG

◆ preload_file

PleyResult(* PleyFileKit::preload_file) (const char *filepath)
Returns
Can return the following error: PLEY_RESULT_FLK_FILE_NOT_FOUND

◆ read_file

void(* PleyFileKit::read_file) (const char *filepath, uint8_t *buffer, uint32_t buffer_len, PleyBasicCB callback, void *callback_data)

◆ start_file_queue

PleyResult(* PleyFileKit::start_file_queue) ()

◆ stop_file_queue

PleyResult(* PleyFileKit::stop_file_queue) ()

◆ sync_cloud_storage

void(* PleyFileKit::sync_cloud_storage) (PleyBasicCB callback, void *callback_data)

Typedef Documentation

◆ PleyFileKit

typedef struct PleyFileKit PleyFileKit