From 66633168c5f615b7361b8b90e6e7784a6ff5f03b Mon Sep 17 00:00:00 2001 From: ZB Date: Tue, 2 Sep 2025 22:33:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=AE=BE=E5=A4=87=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=90=8C=E6=97=B6=E5=8F=91=E5=A3=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ZB --- .../audio_framework/common/native_audiostream_base.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/multimedia/audio_framework/common/native_audiostream_base.h b/multimedia/audio_framework/common/native_audiostream_base.h index 2d2a6dc040d..c0d2048a357 100644 --- a/multimedia/audio_framework/common/native_audiostream_base.h +++ b/multimedia/audio_framework/common/native_audiostream_base.h @@ -839,6 +839,14 @@ typedef enum { * @since 12 */ AUDIO_STREAM_PRIVACY_TYPE_PRIVATE = 1, + /** + * Privacy type that stream can be safely captured and screen casting. + * For example,{@link OH_AudioStream_Usage#AUDIOSTREAM_USAGE_VOICE_COMMUNICATION} will not be + * captured or screen casted by third party applications under AUDIO_STREAM_PRIVACY_TYPE_PUBLIC policy. + * However, the internal capture is allowed under the AUDIO_STREAM_PRIVACY_TYPE_SHARED policy. + * @since 21 + */ + AUDIO_STREAM_PRIVACY_TYPE_SHARED = 2, } OH_AudioStream_PrivacyType; /** -- Gitee