getFormFactor
Returns information about the kind of device the user is using.
Syntax
context.client.getFormFactor()
Available for
Model-driven apps, canvas apps, & portals.
Return Value
Type: Number
Value | Form Factor |
---|---|
0 | Unknown |
1 | Desktop |
2 | Tablet |
3 | Phone |
Related articles
Client
Power Apps component framework API reference
Power Apps component framework overview
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin