XR8.XrDevice.isDeviceBrowserCompatible()
XR8.XrDevice.isDeviceBrowserCompatible(({ allowedDevices })`。
説明
ユーザーのデバイスとブラウザが8th Wall Webと互換性があるかどうかの推定値を返します。 これがfalseを返した場合、XR8.XrDevice.incompatibleReasons()
はデバイスとブラウザがサポートされ ていない理由を返します。
パラメータ
パラメータ | 説明 |
---|---|
allowedDevices [オプション] | サポートされるデバイスクラス、XR8.XrConfig.device() の値。 |
{#returns}を返す。
真か偽か。
例
XR8.XrDevice.isDeviceBrowserCompatible({allowedDevices:XR8.XrConfig.device().MOBILE})