// ignore_for_file: non_constant_identifier_names, camel_case_types, missing_return, unused_import, unused_local_variable, dead_code, unnecessary_cast
//////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////

import 'dart:typed_data';

import 'package:tencent_live_fluttify/src/android/android.export.g.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';

import 'package:foundation_fluttify/foundation_fluttify.dart';

class com_tencent_rtmp_sharp_jni_TraeAudioSessionHost_SessionInfo extends java_lang_Object  {
  //region constants
  static const String name__ = 'com.tencent.rtmp.sharp.jni.TraeAudioSessionHost.SessionInfo';

  
  //endregion

  //region creators
  
  //endregion

  //region getters
  Future<int> get_sessionId() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("com.tencent.rtmp.sharp.jni.TraeAudioSessionHost.SessionInfo::get_sessionId", {'__this__': this});
    return __result__ == null ? null : (__result__);
  }
  
  Future<com_tencent_rtmp_sharp_jni_TraeAudioSession> get__traeAs() async {
    final __result__ = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("com.tencent.rtmp.sharp.jni.TraeAudioSessionHost.SessionInfo::get__traeAs", {'__this__': this});
    return __result__ == null ? null : (com_tencent_rtmp_sharp_jni_TraeAudioSession()..refId = __result__..tag__ = 'tencent_live_fluttify');
  }
  
  //endregion

  //region setters
  Future<void> set_sessionId(int sessionId) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('com.tencent.rtmp.sharp.jni.TraeAudioSessionHost.SessionInfo::set_sessionId', <String, dynamic>{'__this__': this, "sessionId": sessionId});
  
  
  }
  
  Future<void> set__traeAs(com_tencent_rtmp_sharp_jni_TraeAudioSession _traeAs) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod('com.tencent.rtmp.sharp.jni.TraeAudioSessionHost.SessionInfo::set__traeAs', <String, dynamic>{'__this__': this, "_traeAs": _traeAs});
  
  
  }
  
  //endregion

  //region methods
  
  //endregion
}

extension com_tencent_rtmp_sharp_jni_TraeAudioSessionHost_SessionInfo_Batch on List<com_tencent_rtmp_sharp_jni_TraeAudioSessionHost_SessionInfo> {
  //region getters
  Future<List<int>> get_sessionId_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("com.tencent.rtmp.sharp.jni.TraeAudioSessionHost.SessionInfo::get_sessionId_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<int>().map((__result__) => __result__).toList();
    return typedResult;
  }
  
  Future<List<com_tencent_rtmp_sharp_jni_TraeAudioSession>> get__traeAs_batch() async {
    final resultBatch = await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec('tencent_live_fluttify'))).invokeMethod("com.tencent.rtmp.sharp.jni.TraeAudioSessionHost.SessionInfo::get__traeAs_batch", [for (final __item__ in this) {'__this__': __item__}]);
  
    final typedResult = (resultBatch as List).cast<String>().map((__result__) => com_tencent_rtmp_sharp_jni_TraeAudioSession()..refId = __result__..tag__ = 'tencent_live_fluttify').toList();
    return typedResult;
  }
  
  //endregion

  //region setters
  Future<void> set_sessionId_batch(List<int> sessionId) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('com.tencent.rtmp.sharp.jni.TraeAudioSessionHost.SessionInfo::set_sessionId_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "sessionId": sessionId[__i__]}]);
  
  
  }
  
  Future<void> set__traeAs_batch(List<com_tencent_rtmp_sharp_jni_TraeAudioSession> _traeAs) async {
    await MethodChannel('com.fluttify/tencent_live_fluttify', StandardMethodCodec(FluttifyMessageCodec())).invokeMethod('com.tencent.rtmp.sharp.jni.TraeAudioSessionHost.SessionInfo::set__traeAs_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "_traeAs": _traeAs[__i__]}]);
  
  
  }
  
  //endregion

  //region methods
  
  //endregion
}