From Bright Pattern Documentation
(Created page with "<translate> =getPhoneDevicesList= Returns an array of available phone devices for selection. ==Request== ''Syntax'' {| class="wikitable" |getPhoneDevicesList(): Promise<Ope...") |
(Updated via BpDeleteTranslateTags script) |
||
Line 1: | Line 1: | ||
− | + | ||
=getPhoneDevicesList= | =getPhoneDevicesList= | ||
Line 47: | Line 47: | ||
This method returns a list of available ''PhoneDevice'' types. | This method returns a list of available ''PhoneDevice'' types. | ||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 04:01, 29 May 2024
• 5.19
getPhoneDevicesList
Returns an array of available phone devices for selection.
Request
Syntax
getPhoneDevicesList(): Promise<OperationResult<PhoneDevice[]>> |
Where:
type PhoneDevice =
"phone_type_browser" | "phone_type_external" | "phone_type_hard_custom" | "phone_type_hard_default" | "phone_type_nailed" | "phone_type_none" | "phone_type_soft_secure" | "phone_type_soft_unsecure" |
Parameters
(None)
Example Request
getPhoneDevicesListButton.onclick = () => {
adApi.getPhoneDevicesList()
}
Return Value
This method returns a list of available PhoneDevice types.