setPreferableBackendAsync method

Future<void> setPreferableBackendAsync(
  1. int backendId
)

Implementation

Future<void> setPreferableBackendAsync(int backendId) async {
  await cvRunAsync0<void>(
    (callback) => cdnn.Net_SetPreferableBackend_Async(ref, backendId, callback),
    (c) => c.complete(),
  );
}