applyForSeat abstract method

Future<CompletionHandler> applyForSeat({
  1. required int seatIndex,
  2. required int timeout,
  3. String? extraInfo,
})

Apply to go on seat

Request to join co-guest session as an audience member.

After calling this method, a co-guest request is sent to all hosts in the live room. The request will remain active until: • Host accepts via acceptApplication • Host rejects via rejectApplication • Timeout expires • You cancel via cancelApplication

  • seatIndex : Seat index, -1 means auto-assign seat
  • timeout : Timeout (unit: seconds)
  • extraInfo : Extra information

Implementation

Future<CompletionHandler> applyForSeat({
  required int seatIndex,
  required int timeout,
  String? extraInfo,
});