# isSupportNfc

手机是否支持NFC功能(美居7.9开始支持该接口)

# 请求参数

Prop Type Required Default Description
param Object Y {} 请求参数

# 接口调用示例


this.$bridge
    .isSupportNfc(params)
    .then(res => {    
    this.$alert(res)
    })
    .catch(err => {
    this.$toast(err)
    })
1
2
3
4
5
6
7
8
9

# 返回参数

  • 成功时返回
Prop Type Default Description
code Number N/A 1支持NFC 0不支持NFC
msg String N/A success
  • 失败时返回
Prop Type Default Description
errorCode Number N/A -1获取失败 (没有也回调失败)
errorMessage String N/A 错误消息(如有)
Last Updated: 12/8/2021, 2:24:23 PM