Skip to content
  • Tsoumenis Vangelis's avatar
    Adds PlayerHandle interface · ef87718d
    Tsoumenis Vangelis authored
    PlayerHandle is an object that holds methods to control a
    single instance of Ardplayer.
    This can be used as parameter to callback functions that
    listen to player state changed.
    
    Should be used as the handle for useImperativeHandle
    if a ref to a Ardplayer is ever required.
    
    Right now only the pause function is needed but others
    and possibly some state might be added later.
    ef87718d