-
Notifications
You must be signed in to change notification settings - Fork 387
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
What is the purpose of isConnected and do we need it? #181
Comments
For Edge, the implementation will be as follows: So long as an HMD is plugged in, we will return If an HMD is unplugged, If the exact same HMD is subsequently plugged in, we will create a brand VRDisplay instance and raise the So, in summary, |
Thanks. We should make sure such behavior is documented in algorithms so it is predictable across implementations. Should we discuss* that in this issue or a separate one? I think whether we need to expose
|
I think if Edge will be working around events, and just implement |
Re: submitFrame exception. Yes, I meant Re: Should we delete isConnected.. I do not feel strongly about having this redundancy. If we had to pick one, I'd prefer that we keep the event over the function. |
I'd ask folks to refer to and participate in the discussion in #116; the conversation around the events and naming is quite related to this issue. |
Update: |
@toji: for 2.0, does the |
I believe that we should spec it that way, yes. |
Currently:
isConnected
is:What is the connected state and how are applications supposed to use this attribute?
Regardless of whether there is such a property, the behavior of all APIs on the object upon disconnection must be defined. That might make this attribute unnecessary.
Depending on the answers, it may make sense to replace or remove this attribute. If some type of notification is useful, a One-Time "Event" promise may be appropriate.
The text was updated successfully, but these errors were encountered: