interface.uts 571 字节
Newer Older
DCloud-yyl's avatar
DCloud-yyl 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


export type GetAccessibilityInfo = () => UTSJSONObject;

export interface Uni {
  /**
   * GetAccessibilityInfo()
   * @description 
   * 获取app基本信息
   * @return {object}
   * @uniPlatform
   * {
   * 	"app": {
   * 		"android": {
   * 			"osVer": "5.0",
   * 			"uniVer": "x",
   * 			"unixVer": "3.9+"
   * 		},
   * 		"ios": {
   * 			"osVer": "x",
   * 			"uniVer": "x",
   * 			"unixVer": "x"
   * 		}
   * 	}
   * }
   * @example
   ```typescript
    uni.getAccessibilityInfo()
   ```
   */
  getAccessibilityInfo(): UTSJSONObject;
}