Commit 733d52373de4108565de8431a1557228dd950631

Authored by 权海
1 parent 423c2556

feat(ui):修改pigeon api中间层

(cherry picked from commit ffa69d85)

# Conflicts:
#	lib/core/platform/pigeon_api_facade.dart
#	ohos/entry/src/main/ets/pigeon/HealthKitApi.ets
#	pubspec.lock
Showing 1 changed file with 0 additions and 2 deletions
1 import 'package:pigeon/pigeon.dart'; 1 import 'package:pigeon/pigeon.dart';
2 2
3 -  
4 class HealthAuthorization { 3 class HealthAuthorization {
5 /// -1: AppleHealth不可用, 0: 需要请求授权, 1: 已被授权且能获取到部分数据, 2: 已被拒绝或者没有数据 4 /// -1: AppleHealth不可用, 0: 需要请求授权, 1: 已被授权且能获取到部分数据, 2: 已被拒绝或者没有数据
6 final int status; 5 final int status;
@@ -27,7 +26,6 @@ class HealthAuthorization { @@ -27,7 +26,6 @@ class HealthAuthorization {
27 ) 26 )
28 @HostApi() 27 @HostApi()
29 abstract class HealthKitHostApi { 28 abstract class HealthKitHostApi {
30 -  
31 /// Opens Huawei Health client authorization UI. Returns whether user granted. 29 /// Opens Huawei Health client authorization UI. Returns whether user granted.
32 @async 30 @async
33 HealthAuthorization checkHealthAppAuthorization(); 31 HealthAuthorization checkHealthAppAuthorization();