Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMPhobos
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMPhobos
Commits
d67a9dd6
Commit
d67a9dd6
authored
May 25, 2020
by
jz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add params
parent
12651d9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
GMExposureProtocol.h
GMPhobos/Classes/Exposure/GMExposureProtocol.h
+8
-1
No files found.
GMPhobos/Classes/Exposure/GMExposureProtocol.h
View file @
d67a9dd6
...
...
@@ -6,6 +6,8 @@
// Copyright © 2019 更美互动信息科技有限公司. All rights reserved.
//
typedef
NS_ENUM
(
NSInteger
,
GMViewExpoStatus
)
{
GMViewExpoStatusNone
=
0
,
// 无状态
GMViewExpoStatusStart
=
1
,
// 开始曝光
...
...
@@ -14,7 +16,7 @@ typedef NS_ENUM(NSInteger, GMViewExpoStatus) {
};
@protocol
GMViewExposureProtocol
<
NSObject
>
@property
(
nonatomic
,
weak
)
UIViewController
*
pageCtrl
;
// 当前view所在页面
@property
(
nonatomic
,
weak
)
UIViewController
*
pageCtrl
;
// 当前view
z
所在页面
/** view别名 */
@property
(
nonatomic
,
copy
)
NSString
*
viewName
;
/** view别名 */
...
...
@@ -34,6 +36,11 @@ typedef NS_ENUM(NSInteger, GMViewExpoStatus) {
@protocol
GMPageExposureProtocol
<
NSObject
>
/**
* 是否获取到数据立即发送,YES的话不会进行去重逻辑,需要数据去重
*/
@property
(
nonatomic
,
assign
)
BOOL
needImmediatelySend
;
@property
(
nonatomic
,
assign
)
BOOL
needExpo
;
// 页面需要精准曝光
/** 记录上滑总次数 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment