Explorar o código

1,添加选择发音人统计

jsonwang %!s(int64=3) %!d(string=hai) anos
pai
achega
4af5e90a9b
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      Introduce/Record/INIntroduceController.swift

+ 8 - 0
Introduce/Record/INIntroduceController.swift

@@ -101,6 +101,14 @@ class INIntroduceController: BFBaseViewController {
             BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_captionsButton, pageSource: .sp_speekPage,extParams: ["isSubtitlesClose":isOn],commonParams: commonParams())
         }
         
+        recordScreenVC.voiceBtnClickHandle = { voice in
+            if(voice != nil){
+                BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_voiceChangerButton, pageSource: .sp_speekPage,extParams: ["voiceMode":voice?.name ?? ""],commonParams: commonParams())
+            }
+            
+        }
+        
+        
         navHeadImageView?.addSubview(stripSwithView)
         navHeadImageView?.addSubview(addMaterialBtn)
         stripSwithView.snp.makeConstraints { make in