setPriority method
Set priority - mraa_set_priority
This function attempts to set the process to a given priority and the scheduler to SCHED_RR. The highest priority is typically 99 and the minimum is 0 Returns Mraa.generalError on failure.
Implementation
int setPriority(int priority) => _impl.mraa_set_priority(priority);