``` tsx
type permissionNames = 'location' | 'storage' | 'telephone' | 'camera' | 'sms' | 'contacts';

type QueryPermissionItems = {
  [index in permissionNames]: boolean;
};

interface IQueryPermissionParam {
  names?: string[];
}

interface IQueryPermissionResult {
  // NTV 版本号 6.0.1
  version: string;
  // 返回的权限列表+状态
  // {
  //  'storage': true,
  //  'telephone': false,
  // }
  permissions: QueryPermissionItems;
}

queryPermission('camera', 'storage').then(result => {
  this.setState({
    value: JSON.stringify(result),
  });
});

```