diff --git a/multimedia/audio_framework/common/native_audiostream_base.h b/multimedia/audio_framework/common/native_audiostream_base.h index 2d2a6dc040d52358adc6be4c69dfc0c057b9613d..c0d2048a35743e31174a3ee30cd8f8f1f86458ce 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; /**