add method

void add(
  1. Media media
)

Appends a Media to the Player's queue.

Implementation

void add(Media media) {
  LWM.bindings.PlayerAdd(
    id,
    media.uri.toNativeUtf8(),
    media.id,
  );
}