Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getCurrentTime without callback #46

Closed
tomasite opened this issue May 30, 2016 · 3 comments
Closed

getCurrentTime without callback #46

tomasite opened this issue May 30, 2016 · 3 comments

Comments

@tomasite
Copy link

tomasite commented May 30, 2016

I would like to retrieve the current time directly, without passing a callback or at least synchronously. Do you think it could be conceivable?

Thanks in advance,

@zmxv
Copy link
Owner

zmxv commented Jun 1, 2016

Sorry, synchronous getCurrentTime isn't possible.

@zmxv zmxv closed this as completed Jun 1, 2016
@tomasite
Copy link
Author

tomasite commented Jun 1, 2016

Ok thanks anyway.
Just to be sure to understand why is it mandatory to access the current player time through a callback?
(I don't see any callback in the core implementation neither on android nor on ios but maybe I miss something)

@zmxv
Copy link
Owner

zmxv commented Jun 1, 2016

This is a limitation of React Native's native module library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants