বিবরণ
Use the chrome.enterprise.hardwarePlatform API to get the manufacturer and model of the hardware platform where the browser runs. Note: This API is only available to extensions installed by enterprise policy.
অনুমতিসমূহ
enterprise.hardwarePlatformউপস্থিতি
প্রকারভেদ
HardwarePlatformInfo
বৈশিষ্ট্য
- প্রস্তুতকারক
স্ট্রিং
- মডেল
স্ট্রিং
পদ্ধতি
getHardwarePlatformInfo()
chrome.enterprise.hardwarePlatform.getHardwarePlatformInfo(): Promise<HardwarePlatformInfo>
হার্ডওয়্যার প্ল্যাটফর্মের জন্য প্রস্তুতকারক এবং মডেল সংগ্রহ করে এবং, যদি এক্সটেনশনটি অনুমোদিত হয়, তাহলে callback মাধ্যমে এটি ফেরত পাঠায়।
রিটার্নস
প্রতিশ্রুতি< হার্ডওয়্যার প্ল্যাটফর্ম তথ্য >
ক্রোম ৯৬+একটি প্রতিশ্রুতি প্রদান করে যা হার্ডওয়্যার প্ল্যাটফর্ম তথ্যের সাথে সমাধান করে।