Skip to content

Commit b16ccd9

Browse files
author
xianing
committed
macos support background blur
1 parent 5b8ad5c commit b16ccd9

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

macOS/APIExample/Commons/AgoraExtension.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,13 @@ extension AgoraVirtualBackgroundSourceType {
9292
switch self {
9393
case .color: return "Colored Background".localized
9494
case .img: return "Image Background".localized
95+
case .blur: return "Blur Background".localized
9596
default:
9697
return "\(self.rawValue)"
9798
}
9899
}
99100
static func allValues() -> [AgoraVirtualBackgroundSourceType] {
100-
return [.color, .img]
101+
return [.color, .img, .blur]
101102
}
102103
}
103104

macOS/APIExample/Localizable.strings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,4 @@
161161
"Colored Background" = "纯色背景";
162162
"Image Background" = "图片背景";
163163
"Virtual Background" = "虚拟背景";
164+
"Blur Background" = "背景虚化";

0 commit comments

Comments
 (0)