# openExternalApplication 跳转到外部 APP
只能在美居3.9/东芝2.6及以上版本中调用
# Attributes
| 属性 | 类型 | 必要 | 默认值 | 说明 |
|---|---|---|---|---|
| app_type | String | Y | 0:google, 1:alexa, 2:ifttt, 3:yandex(Дом с Алисой), 4:maika |
# 调用示例
const params = {
app_type: '0', // 0=google, 1=alexa, 2=ifttt, 3=yandex, 4=maika
};
window.bridge.openExternalApplication(
params,
(res) => {
console.log("success", res);
},
(error) => {
console.log("error", error);
}
);
# callback
N/A
# 接口返回示例
N/A