<style>
.subjectTitle { font-size: 1.15em;}
</style>

## Business

### hysdk.business.scanQRCode

<h4 class="subjectTitle">功能</h4>

扫描二维码。

<h4 class="subjectTitle">环境</h4>

| 平台 | 版本 | 
|-----|-----|
| iOS | |
| Android | |
| touch | 不支持 |
| 微信 | 不支持 |

<h4 class="subjectTitle">返回参数</h4>

| 参数 | 类型 | 描述 | 备注 |
|-----|-----|-----|-----|
| result | string | 扫描结果 | - |

<h4 class="subjectTitle">示例</h4>

```javascript
hysdk.business.scanQRCode({
    success: function(res) {
        // res = { result: 'scan.result' }
    },
    fail: function() {}
});
```

### hysdk.business.openScheme

<h4 class="subjectTitle">功能</h4>

打开 scheme。

<h4 class="subjectTitle">环境</h4>

| 平台 | 版本 | 
|-----|-----|
| iOS | |
| Android | |
| touch | 不支持 |
| 微信 | 不支持 |

<h4 class="subjectTitle">参数</h4>

| 参数 | 类型 | 描述 | 必选 | 默认值 | 备注 |
|-----|-----|-----|-----|-----|-----|
| scheme | string | 跳转的 scheme | Y | 无 | - |

<h4 class="subjectTitle">示例</h4>

```javascript
hysdk.business.openScheme({
    openScheme: 'qunariphone://xxx/yyy',
    success: function() {},
    fail: function() {}
});
```