AgoraVirtualBackgroundSourceStateReason Constants Reference

Declared in AgoraEnumerates.h
Availability v3.4.5

AgoraVirtualBackgroundSourceStateReason

虚拟背景开启出错的原因或开启成功的提示。

Definition

typedef NS_ENUM(NSUInteger, AgoraVirtualBackgroundSourceStateReason ) {
   AgoraVBSStateReasonSuccess = 0,
   AgoraVBSStateReasonImageNotExist = 1,
   AgoraVBSStateReasonColorFormatNotSupported = 2,
   AgoraVBSStateReasonDeviceNotSupported = 3,
   AgoraVBSStateReasonInsufficientPerformance = 4,
};

Constants

AgoraVBSStateReasonSuccess

0: 虚拟背景已成功开启。

Declared In AgoraEnumerates.h.

AgoraVBSStateReasonImageNotExist

1: 自定义的背景图不存在。请检查 AgoraVirtualBackgroundSourcesource 的值。

Declared In AgoraEnumerates.h.

AgoraVBSStateReasonColorFormatNotSupported

2: 自定义的背景图颜色格式出错。请检查 AgoraVirtualBackgroundSourcecolor 的值。

Declared In AgoraEnumerates.h.

AgoraVBSStateReasonDeviceNotSupported

3: 设备不支持使用虚拟背景。

Declared In AgoraEnumerates.h.

AgoraVBSStateReasonInsufficientPerformance

4: 开启或运行虚拟背景功能时,SDK 检测到用户设备性能不足。收到该原因码后,声网建议用户关闭虚拟背景功能。

Available in v3.7.1

Declared In AgoraEnumerates.h.

Availability

v3.4.5

Declared In

AgoraEnumerates.h