Sample Usage of Resource Tuner's Extension APIs.
Sample Usage of Resource Tuner's Extension APIs.This files covers examples of the following APIs:
- URM_REGISTER_RES_APPLIER_CB
- URM_REGISTER_CONFIG
#include "Extensions.h"
void customApplyCB(void* context) {
}
void customTearCB(void* context) {
}
__attribute__((constructor))
void registerWithUrm() {
URM_REGISTER_RES_APPLIER_CB(0x00030000, customApplyCB);
URM_REGISTER_RES_TEAR_CB(0x00040a22, customTearCB);
}