Skip to content

Commit

Permalink
Add support for the isSystemKeyboardSupported attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
cabanier committed Mar 2, 2023
1 parent 1fb14e7 commit 8a0b959
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ enum XRVisibilityState {
[SameObject] readonly attribute XRRenderState renderState;
[SameObject] readonly attribute XRInputSourceArray inputSources;
readonly attribute FrozenArray<DOMString> enabledFeatures;
readonly attribute boolean isSystemKeyboardSupported;

// Methods
undefined updateRenderState(optional XRRenderStateInit state = {});
Expand Down Expand Up @@ -653,6 +654,8 @@ Each {{XRSession}} has a <dfn for=XRSession>set of granted features</dfn>, which

The <dfn attribute for="XRSession">enabledFeatures</dfn> attribute returns the features in the [=XRSession/set of granted features=] as a new array of {{DOMString}}s.

The <dfn attribute for="XRSession">isSystemKeyboardSupported</dfn> attribute indicates that the {{XRSystem}} has the ability to display the system keyboard while the {{XRSession}} is active.

<div class="algorithm" data-algorithm="initialize-session">

To <dfn>initialize the session</dfn>, given |session|, |mode|, |granted|, and |device|, the user agent MUST run the following steps:
Expand Down

0 comments on commit 8a0b959

Please sign in to comment.