Skip to content
Commit ef87718d authored by Tsoumenis Vangelis's avatar Tsoumenis Vangelis
Browse files

Adds PlayerHandle interface

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.
parent 13dcccf8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment