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,
};

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.

Availability

v3.4.5

Declared In

AgoraEnumerates.h