Browse Source

1,添加选择发音人统计

jsonwang 3 years ago
parent
commit
4af5e90a9b
1 changed files with 8 additions and 0 deletions
  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())
             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(stripSwithView)
         navHeadImageView?.addSubview(addMaterialBtn)
         navHeadImageView?.addSubview(addMaterialBtn)
         stripSwithView.snp.makeConstraints { make in
         stripSwithView.snp.makeConstraints { make in