setQueueMode method

Future setQueueMode(
  1. int queueMode
)

Future which invokes the platform specific method for setQueueMode 0 means QUEUE_FLUSH - Queue mode where all entries in the playback queue (media to be played and text to be synthesized) are dropped and replaced by the new entry. Queues are flushed with respect to a given calling app. Entries in the queue from other calls are not discarded. 1 means QUEUE_ADD - Queue mode where the new entry is added at the end of the playback queue. Android supported only

Implementation

Future<dynamic> setQueueMode(int queueMode) async =>
    await _channel.invokeMethod('setQueueMode', queueMode);