|
@@ -11,7 +11,7 @@ import Foundation
|
|
|
|
|
|
|
|
|
|
|
|
-public enum PQVIDEOPAGETYPE {
|
|
|
+public enum PQVIDEOPAGETYPE {
|
|
|
case PQVIDEOPAGETYPE_Normal
|
|
|
case PQVIDEOPAGETYPE_RECOMM
|
|
|
case PQVIDEOPAGETYPE_ATTEN
|
|
@@ -29,7 +29,7 @@ public enum PQVIDEOPAGETYPE {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum PQVIDEO_PLAY_STATUS {
|
|
|
+public enum PQVIDEO_PLAY_STATUS {
|
|
|
case PQVIDEO_PLAY_STATUS_LOADING
|
|
|
case PQVIDEO_PLAY_STATUS_BEGIN
|
|
|
case PQVIDEO_PLAY_STATUS_END
|
|
@@ -42,7 +42,7 @@ public enum PQVIDEO_PLAY_STATUS {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum PAGESOURCE: String {
|
|
|
+public enum PAGESOURCE: String {
|
|
|
|
|
|
case sp_category = "speedApp-category"
|
|
|
case sp_hotList = "speedApp_hotList"
|
|
@@ -56,7 +56,7 @@ public enum PAGESOURCE: String {
|
|
|
case sp_videoDetail_upload_recommend = "speedApp-videoDetail_upload_recommend"
|
|
|
case sp_mine_favorite = "speedApp_mine_favorite"
|
|
|
case sp_videoDetail_favorite = "speedApp-videoDetail_favorite"
|
|
|
-
|
|
|
+
|
|
|
case sp_videoDetail_share = "speedApp-videoDetail_share"
|
|
|
case sp_videoDetail_favorite_recommend = "speedApp-videoDetail_favorite_recommend"
|
|
|
case sp_userHomePage = "speedApp-userHomePage"
|
|
@@ -108,7 +108,7 @@ public enum PAGESOURCE: String {
|
|
|
case sp_material_search = "vlog-pages/user-videos-share"
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
case sp_msg_shareSpace = "speedApp-message"
|
|
|
case sp_msg_shareSpace_detail = "speedApp-message_shareSpace"
|
|
|
case sp_msg_share = "speedApp-message_share"
|
|
@@ -116,7 +116,7 @@ public enum PAGESOURCE: String {
|
|
|
case sp_msg_fans = "speedApp-message_fans"
|
|
|
case sp_msg_push = "speedApp-message_push"
|
|
|
case sp_msg_detail = "speedApp-videoDetail_message"
|
|
|
-
|
|
|
+
|
|
|
|
|
|
case sp_draft_projectList = "speedApp-projectList"
|
|
|
case sp_reproduce_childList = "speedApp-reproduceCollection_child"
|
|
@@ -132,7 +132,7 @@ public enum PAGESOURCE: String {
|
|
|
case sp_stuck_previewSyncedUp = "speedApp_previewSyncedUp"
|
|
|
case sp_stuck_searchSyncedUpMusic = "speedApp_searchSyncedUpMusic"
|
|
|
case sp_stuck_publishSyncedUp = "speedApp_publishSyncedUp"
|
|
|
-
|
|
|
+
|
|
|
|
|
|
case sp_cmunit_collect = "collectAgeGenderPage"
|
|
|
case sp_cmunit_recommend = "recommendPage"
|
|
@@ -153,21 +153,28 @@ public enum PAGESOURCE: String {
|
|
|
case sp_cmunit_cmtMsgPage = "commentMessagePage"
|
|
|
case sp_cmunit_mePage = "mePage"
|
|
|
case sp_cmunit_userPage = "homePage"
|
|
|
-
|
|
|
+
|
|
|
case sp_shanyinApp_main = "speedApp-main"
|
|
|
-
|
|
|
+
|
|
|
case sp_shanyinApp_mine = "shanyinApp-mine"
|
|
|
-
|
|
|
- func pageName(app:String) -> String {
|
|
|
-
|
|
|
- return app + self.rawValue
|
|
|
+
|
|
|
+ public func realRawValue(prefix: String? = nil) -> String {
|
|
|
+ if prefix != nil, (prefix?.count ?? 0) > 0 {
|
|
|
+ if prefix == "shanyinApp", rawValue.hasPrefix("speedApp") {
|
|
|
+ return rawValue.replacingOccurrences(of: "speedApp", with: prefix ?? "")
|
|
|
+ } else if prefix == "speedApp", rawValue.hasPrefix("shanyinApp") {
|
|
|
+ return rawValue.replacingOccurrences(of: "shanyinApp", with: prefix ?? "")
|
|
|
+ }
|
|
|
+ return rawValue
|
|
|
+ }
|
|
|
+ return rawValue
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-public enum objectType: String {
|
|
|
+public enum objectType: String {
|
|
|
|
|
|
|
|
|
case ot_home_tabBtn = "speedApp-categoryTabButton"
|
|
@@ -290,7 +297,7 @@ public enum objectType: String {
|
|
|
case ot_shareMomentBtn = "shareMomentButton"
|
|
|
case ot_click_shareWechatMoment = "speedApp_clickButton_shareWechatMoment"
|
|
|
case ot_click_finished = "speedApp_clickButton_finished"
|
|
|
-
|
|
|
+
|
|
|
|
|
|
case ot_shanyinApp_clickButton_syncedUpMusic = "shanyinApp_clickButton_syncedUpMusic"
|
|
|
|
|
@@ -304,44 +311,44 @@ public enum objectType: String {
|
|
|
|
|
|
case ot_shanyinApp_clickButton_changeTitle = "speedApp_clickButton_changeTitle"
|
|
|
case ot_shanyinApp_clickButton_changeCover = "speedApp_clickButton_changeCover"
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_selectPatternSpeed = "speedApp_musicVideoPreview_selectPatternSpeed"
|
|
|
-
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_selectPatternMusicVideo = "speedApp_musicVideoPreview_selectPatternMusicVideo"
|
|
|
-
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_selectPatternBgm = "speedApp_musicVideoPreview_selectPatternBgm"
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_musicTab = "speedApp_musicVideoPreview_musicTab"
|
|
|
-
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_videoTab = "speedApp_musicVideoPreview_videoTab"
|
|
|
-
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_musicView = "speedApp_musicVideoPreview_musicView"
|
|
|
-
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_musicCategorySelect = "speedApp_musicVideoPreview_musicCategorySelect"
|
|
|
-
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_musicSelect = "speedApp_musicVideoPreview_musicSelect"
|
|
|
-
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_musicPeriodSelect = "speedApp_musicVideoPreview_musicPeriodSelect"
|
|
|
-
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_musicSearch = "speedApp_musicVideoPreview_musicSearch"
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_musicSearchAudition = "speedApp_musicVideoPreview_musicSearchAudition"
|
|
|
-
|
|
|
+
|
|
|
case ot_shanyinApp_musicVideoPreview_musicSearchSelect = "speedApp_musicVideoPreview_musicSearchSelect"
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
case ot_shanyinApp_musicVideoPreview_selectSpeed = "speedApp_musicVideoPreview_selectSpeed"
|
|
|
|
|
|
case ot_shanyinApp_musicVideoPreview_customizeSpeed = "speedApp_musicVideoPreview_customizeSpeed"
|
|
|
|
|
|
case ot_shanyinApp_musicVideoPreview_selectSpeedRhythm = "speedApp_musicVideoPreview_selectSpeedRhythm"
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
case ot_shanyinApp_musicVideoPreview_selectRatio = "speedApp_musicVideoPreview_selectRatio"
|
|
@@ -349,8 +356,7 @@ public enum objectType: String {
|
|
|
case ot_shanyinApp_musicVideoPreview_customizeRatio = "speedApp_musicVideoPreview_customizeRatio"
|
|
|
|
|
|
case ot_shanyinApp_musicVideoPreview_selectMusicVideoRhythm = "speedApp_musicVideoPreview_selectMusicVideoRhythm"
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
case ot_shanyinApp_musicVideoPreview_selectRepeatTimes = "speedApp_musicVideoPreview_selectRepeatTimes"
|
|
@@ -358,7 +364,7 @@ public enum objectType: String {
|
|
|
case ot_shanyinApp_musicVideoPreview_customizeRepeatTimes = "speedApp_musicVideoPreview_customizeRepeatTimes"
|
|
|
|
|
|
case ot_shanyinApp_musicVideoPreview_selectMusicVideoRepeatRhythm = "speedApp_musicVideoPreview_selectMusicVideoRepeatRhythm"
|
|
|
-
|
|
|
+
|
|
|
|
|
|
case ot_cmunit_syncedBtn = "syncedUpMusicButton"
|
|
|
case ot_cmunit_createBtn = "videoIdeaButton"
|
|
@@ -382,7 +388,7 @@ public enum objectType: String {
|
|
|
case ot_cmunit_skipBtn = "skipButton"
|
|
|
case ot_cmunit_loginButton = "loginButton"
|
|
|
case ot_cmunit_cmtMsgItem = "commentMessageItem"
|
|
|
-
|
|
|
+
|
|
|
|
|
|
case ot_actity_incentive = "weapp_sharer_incentivePlanWindow"
|
|
|
case ot_actity_share = "weapp_share_plan"
|
|
@@ -391,15 +397,27 @@ public enum objectType: String {
|
|
|
case ot_videoShareButton = "videoShareButton"
|
|
|
case ot_videoShareFriend = "videoShareFriend"
|
|
|
case ot_videoShareH5 = "videoShareH5"
|
|
|
- case ot_notificationButton = "notificationButton"
|
|
|
+ case ot_notificationButton = "notificationButton"
|
|
|
case ot_videoShareFriend_fullScreen = "videoShareFriend_fullScreen"
|
|
|
case ot_hotBoard_videoButton = "videoButton"
|
|
|
+
|
|
|
+ public func realRawValue(prefix: String? = nil) -> String {
|
|
|
+ if prefix != nil, (prefix?.count ?? 0) > 0 {
|
|
|
+ if prefix == "shanyinApp", rawValue.hasPrefix("speedApp") {
|
|
|
+ return rawValue.replacingOccurrences(of: "speedApp", with: prefix ?? "")
|
|
|
+ } else if prefix == "speedApp", rawValue.hasPrefix("shanyinApp") {
|
|
|
+ return rawValue.replacingOccurrences(of: "shanyinApp", with: prefix ?? "")
|
|
|
+ }
|
|
|
+ return rawValue
|
|
|
+ }
|
|
|
+ return rawValue
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-public enum businessType: String {
|
|
|
+public enum businessType: String {
|
|
|
|
|
|
case bt_videoView = "videoView"
|
|
|
case bt_videoPreView = "videoPreView"
|
|
@@ -411,7 +429,7 @@ public enum businessType: String {
|
|
|
case bt_videoPlayException = "videoPlayException"
|
|
|
case bt_videoPlay_normal = "videoPlay"
|
|
|
case bt_videoAutoPlay = "videoAutoPlay"
|
|
|
- public enum bt_videoPlay: String {
|
|
|
+ public enum bt_videoPlay: String {
|
|
|
case bt_videoPlay_userSlideSingle = "userSlideSingle"
|
|
|
case bt_videoPlay_userClickCover = "userClickCover"
|
|
|
case bt_videoPlay_userSlideList = "userSlideList"
|
|
@@ -482,18 +500,29 @@ public enum businessType: String {
|
|
|
case bt_ad_close = "adClose"
|
|
|
case bt_ad_configRequest = "adConfigRequest"
|
|
|
case bt_ad_configLoaded = "adConfigLoaded"
|
|
|
-
|
|
|
+
|
|
|
|
|
|
case bt_cmunit_clickTopic = "videoClickTopic"
|
|
|
case bt_cmunit_videoReport = "videoReport"
|
|
|
case bt_cmunit_comment = "videoComment"
|
|
|
case bt_cmunit_likeComment = "videoLikeComent"
|
|
|
+ public func realRawValue(prefix: String? = nil) -> String {
|
|
|
+ if prefix != nil, (prefix?.count ?? 0) > 0 {
|
|
|
+ if prefix == "shanyinApp", rawValue.hasPrefix("speedApp") {
|
|
|
+ return rawValue.replacingOccurrences(of: "speedApp", with: prefix ?? "")
|
|
|
+ } else if prefix == "speedApp", rawValue.hasPrefix("shanyinApp") {
|
|
|
+ return rawValue.replacingOccurrences(of: "shanyinApp", with: prefix ?? "")
|
|
|
+ }
|
|
|
+ return rawValue
|
|
|
+ }
|
|
|
+ return rawValue
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-public enum autoType: Int {
|
|
|
+public enum autoType: Int {
|
|
|
case AUTO_TYPE_SCROLL_VERTICAL_DOWN = 11
|
|
|
case AUTO_TYPE_SCROLL_VERTICAL_UP = 12
|
|
|
case AUTO_TYPE_SCROLL_HORIZON_RIGHT = 13
|
|
@@ -510,7 +539,7 @@ public enum autoType: Int {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum actionType: String {
|
|
|
+public enum actionType: String {
|
|
|
case at_msg_backendReturn = "backendReturn"
|
|
|
case at_msg_frontendPull = "frontendPull"
|
|
|
case at_msg_view = "view"
|
|
@@ -520,7 +549,7 @@ public enum actionType: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum messageType: Int {
|
|
|
+public enum messageType: Int {
|
|
|
case mt_nomal = 0
|
|
|
case mt_fans = 1
|
|
|
case mt_like = 2
|
|
@@ -533,7 +562,7 @@ public enum messageType: Int {
|
|
|
}
|
|
|
|
|
|
|
|
|
-public enum sharePageType: Int {
|
|
|
+public enum sharePageType: Int {
|
|
|
case share_page_play = 1
|
|
|
case share_page_share = 2
|
|
|
case share_page_favorite = 3
|
|
@@ -543,7 +572,7 @@ public enum sharePageType: Int {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum messageSubType: Int {
|
|
|
+public enum messageSubType: Int {
|
|
|
case mtsub_nomal = 0
|
|
|
case mtsub_fansAtt = 101
|
|
|
case mtsub_fansSbs = 102
|
|
@@ -574,7 +603,7 @@ public enum messageSubType: Int {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum messagePointType: Int {
|
|
|
+public enum messagePointType: Int {
|
|
|
case mt_point_nomal = 0
|
|
|
case mt_point_fans = 1
|
|
|
case mt_point_praise = 2
|
|
@@ -590,7 +619,7 @@ public enum messagePointType: Int {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum statisticsLogType: Int {
|
|
|
+public enum statisticsLogType: Int {
|
|
|
case st_log_type_abtestinfo = 10
|
|
|
case st_log_type_operation = 20
|
|
|
case st_log_type_simpleevent = 30
|
|
@@ -608,7 +637,7 @@ public enum statisticsLogType: Int {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum coldLaunchType: String {
|
|
|
+public enum coldLaunchType: String {
|
|
|
case coldLaunchType_userActiveOpen = "userActiveOpen"
|
|
|
case coldLaunchType_appRecall = "appRecall"
|
|
|
case coldLaunchType_pushRecall = "pushRecall"
|
|
@@ -617,7 +646,7 @@ public enum coldLaunchType: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum reportLogType {
|
|
|
+public enum reportLogType {
|
|
|
case reportLogType_view
|
|
|
case reportLogType_realPlay
|
|
|
case reportLogType_play
|
|
@@ -628,7 +657,7 @@ public enum reportLogType {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum TAB_PAGETYPE: String {
|
|
|
+public enum TAB_PAGETYPE: String {
|
|
|
case TAB_PAGETYPE_NORMAL = "nomalTab"
|
|
|
case TAB_PAGETYPE_RECOMM = "categoryTab"
|
|
|
case TAB_PAGETYPE_ATTEN = "followTab"
|
|
@@ -640,7 +669,7 @@ public enum TAB_PAGETYPE: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum atttendAndFansCellType {
|
|
|
+public enum atttendAndFansCellType {
|
|
|
case cellType_attend
|
|
|
case cellType_fans
|
|
|
case cellType_banned
|
|
@@ -649,7 +678,7 @@ public enum atttendAndFansCellType {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum fullScreenActionType {
|
|
|
+public enum fullScreenActionType {
|
|
|
case volume
|
|
|
case brightness
|
|
|
case progress
|
|
@@ -658,7 +687,7 @@ public enum fullScreenActionType {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum activityRemindType {
|
|
|
+public enum activityRemindType {
|
|
|
case nomal
|
|
|
case newUser
|
|
|
case yesterDay_finish
|
|
@@ -669,7 +698,7 @@ public enum activityRemindType {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum material_msgType: String {
|
|
|
+public enum material_msgType: String {
|
|
|
case all = "ALL_SEARCH_EVENT"
|
|
|
case image = "IMAGE_SEARCH_EVENT"
|
|
|
case video = "VIDEO_SEARCH_EVENT"
|
|
@@ -680,7 +709,7 @@ public enum material_msgType: String {
|
|
|
}
|
|
|
|
|
|
|
|
|
-public enum videoCanvasType: Int {
|
|
|
+public enum videoCanvasType: Int {
|
|
|
case origin = 1
|
|
|
case nineToSixteen = 2
|
|
|
case oneToOne = 3
|
|
@@ -688,7 +717,7 @@ public enum videoCanvasType: Int {
|
|
|
}
|
|
|
|
|
|
|
|
|
-public enum StickerType: String {
|
|
|
+public enum StickerType: String {
|
|
|
case UNKONW = "unknow"
|
|
|
case IMAGE = "image"
|
|
|
case VIDEO = "video"
|
|
@@ -721,7 +750,7 @@ public enum StickerType: String {
|
|
|
|
|
|
|
|
|
|
|
|
- public func mimeType() -> String {
|
|
|
+ public func mimeType() -> String {
|
|
|
var mimeType: String = "application/octet-stream"
|
|
|
switch self {
|
|
|
case .IMAGE:
|
|
@@ -740,7 +769,7 @@ public enum StickerType: String {
|
|
|
return mimeType
|
|
|
}
|
|
|
|
|
|
- public func pathExtension() -> String {
|
|
|
+ public func pathExtension() -> String {
|
|
|
var pathExtension: String = ""
|
|
|
switch self {
|
|
|
case .IMAGE:
|
|
@@ -763,13 +792,13 @@ public enum StickerType: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum stickerContentModeDef: Int {
|
|
|
+public enum stickerContentModeDef: Int {
|
|
|
case aspectFit = 0
|
|
|
case aspectFill = 1
|
|
|
}
|
|
|
|
|
|
|
|
|
-public enum stickerContentMode: String {
|
|
|
+public enum stickerContentMode: String {
|
|
|
case aspectFitStr = "complete"
|
|
|
case aspectFillStr = "full"
|
|
|
}
|
|
@@ -777,14 +806,14 @@ public enum stickerContentMode: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum adapterModeDef: Int {
|
|
|
+public enum adapterModeDef: Int {
|
|
|
case speedyAuto = 0
|
|
|
case loopAuto = 1
|
|
|
case crop = 2
|
|
|
}
|
|
|
|
|
|
|
|
|
-public enum adapterMode: String {
|
|
|
+public enum adapterMode: String {
|
|
|
case multiple
|
|
|
case loopAuto = "loop"
|
|
|
case staticFrame
|
|
@@ -793,7 +822,7 @@ public enum adapterMode: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum videoUploadSourceType: String {
|
|
|
+public enum videoUploadSourceType: String {
|
|
|
case videoUpload
|
|
|
case videoCompose
|
|
|
case videoUploadToCompose
|
|
@@ -802,7 +831,7 @@ public enum videoUploadSourceType: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum videoMakeEntranceType: String {
|
|
|
+public enum videoMakeEntranceType: String {
|
|
|
case entranceMineTabDraft = "draft_metab"
|
|
|
case entrancePublicTabDraft = "draft_uploadpopup"
|
|
|
case entrancePublicTabCompose = "composeVideo"
|
|
@@ -824,7 +853,7 @@ public enum videoMakeEntranceType: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum sectionType: String {
|
|
|
+public enum sectionType: String {
|
|
|
case normal
|
|
|
case global
|
|
|
}
|
|
@@ -832,7 +861,7 @@ public enum sectionType: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum VOICETYPT: String {
|
|
|
+public enum VOICETYPT: String {
|
|
|
case PRODUCE = "produce"
|
|
|
case BGM = "bgm"
|
|
|
case SPEECH = "speech"
|
|
@@ -842,7 +871,7 @@ public enum VOICETYPT: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum inputStatus {
|
|
|
+public enum inputStatus {
|
|
|
case normal
|
|
|
case inputing
|
|
|
case recording
|
|
@@ -854,7 +883,7 @@ public enum inputStatus {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum aspectRatio {
|
|
|
+public enum aspectRatio {
|
|
|
case origin(width: CGFloat, height: CGFloat)
|
|
|
case oneToOne
|
|
|
case sixteenToNine
|
|
@@ -864,14 +893,14 @@ public enum aspectRatio {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum stuckPointMusicContentType {
|
|
|
+public enum stuckPointMusicContentType {
|
|
|
case catagery
|
|
|
case serach
|
|
|
case page
|
|
|
}
|
|
|
|
|
|
|
|
|
-public enum videoFromScene: Int {
|
|
|
+public enum videoFromScene: Int {
|
|
|
case UploadNormal = 1
|
|
|
case UploadMakeVideo = 2
|
|
|
case UploadNormalToMakeVideo = 3
|
|
@@ -882,7 +911,7 @@ public enum videoFromScene: Int {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum adChannel: String {
|
|
|
+public enum adChannel: String {
|
|
|
case wechat
|
|
|
case byteDouce = "pangle"
|
|
|
case pdd
|
|
@@ -892,7 +921,7 @@ public enum adChannel: String {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum adType: Int {
|
|
|
+public enum adType: Int {
|
|
|
case banner = 1
|
|
|
case drawVideo = 2
|
|
|
case preMovie = 3
|
|
@@ -903,7 +932,7 @@ public enum adType: Int {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum adCrowd: Int {
|
|
|
+public enum adCrowd: Int {
|
|
|
case highCrowd = 1
|
|
|
case mediumCrowd = 2
|
|
|
case lowCrowd = 3
|
|
@@ -912,26 +941,25 @@ public enum adCrowd: Int {
|
|
|
|
|
|
|
|
|
|
|
|
-public enum adPosition: String {
|
|
|
+public enum adPosition: String {
|
|
|
case splashAd
|
|
|
case videoFlowAd
|
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
-public enum styleColor: String {
|
|
|
- case nomal = "#F1034D"
|
|
|
- case green = "#3DC1C1"
|
|
|
- case red = "#EE0051"
|
|
|
- case intrGreen = "#28BE67"
|
|
|
+public enum styleColor: String {
|
|
|
+ case nomal = "#F1034D"
|
|
|
+ case green = "#3DC1C1"
|
|
|
+ case red = "#EE0051"
|
|
|
+ case intrGreen = "#28BE67"
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-public enum statusBarStyle {
|
|
|
+public enum statusBarStyle {
|
|
|
case light
|
|
|
case dark
|
|
|
}
|