From 6f45860088ccaadc2d43bd4d527e048e868c8942 Mon Sep 17 00:00:00 2001 From: lee Date: Fri, 27 May 2022 21:20:29 +0800 Subject: [PATCH] modify getPlayingState permission Signed-off-by: lee --- api/@ohos.bluetooth.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/@ohos.bluetooth.d.ts b/api/@ohos.bluetooth.d.ts index 2a0986f446..8285c80451 100644 --- a/api/@ohos.bluetooth.d.ts +++ b/api/@ohos.bluetooth.d.ts @@ -436,7 +436,15 @@ declare namespace bluetooth { * * @param device The address of the remote device. * @return Returns {@link PlayingState} of the remote device. + * @deprecated since 9 * @since 8 + */ + /** + * Obtains the playing state of device. + * + * @param device The address of the remote device. + * @return Returns {@link PlayingState} of the remote device. + * @since 9 * @permission ohos.permission.USE_BLUETOOTH */ getPlayingState(device: string): PlayingState; -- Gitee