setUserId static method
Implementation
static Future<V2TXLiveCode> setUserId(String userId) async {
LiveLoadDynamicLib.getPluginChannel().invokeMethod('initialize');
ffi.Pointer<ffi.Int8> nativeUserId = userId.toNativeUtf8().cast<ffi.Int8>();
_premierFFIBindings.setUserId(nativeUserId);
calloc.free(nativeUserId);
return V2TXLIVE_OK;
}