WebIDLpedia

NavigatorUAData interface

Definition

User-Agent Client Hints defines NavigatorUAData



[Exposed=(Window,Worker)]
interface NavigatorUAData {
  readonly attribute FrozenArray<NavigatorUABrandVersion> brands;
  readonly attribute boolean mobile;
  readonly attribute DOMString platform;
  Promise<UADataValues> getHighEntropyValues(sequence<DOMString> hints);
  UALowEntropyJSON toJSON();
};

Methods and attributes that return objects implementing NavigatorUAData

Referring IDL interfaces/dictionaries