# getterValFromStorage 从app内存中取得数据(JS->WebView)

# Attributes

属性 类型 必要 默认值 说明
keyName String Y -

# 调用示例

window.bridge.getterValFromStorage('myKey', res => {
    console.log(res)
}, err => {
    console.log(err)
})

# callback

属性 类型 必要 默认值 说明

# 接口返回示例

0 : 成功
-1 : 失败(无插件)
-2 : 失败(无文件)