sdk
2.8.0
sdk
/
org.cleaninsights.sdk
/
Consent
Consent
open
class
Consent
(
val
granted
:
Boolean
,
val
start
:
Calendar
=
CleanInsights.now()
,
val
end
:
Calendar
=
CleanInsights.now()
)
Content copied to clipboard
Types
Constructors
Functions
Properties
Inheritors
Constructors
Consent
Link copied to clipboard
fun
Consent
(
granted
:
Boolean
,
period
:
Period
)
Content copied to clipboard
Consent
Link copied to clipboard
fun
Consent
(
granted
:
Boolean
,
start
:
Calendar
=
CleanInsights.now()
,
end
:
Calendar
=
CleanInsights.now()
)
Content copied to clipboard
Types
State
Link copied to clipboard
enum
State
:
Enum
<
Consent.State
>
Content copied to clipboard
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
Content copied to clipboard
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
Content copied to clipboard
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Content copied to clipboard
Properties
end
Link copied to clipboard
val
end
:
Calendar
Content copied to clipboard
end
Date
Link copied to clipboard
val
endDate
:
Date
Content copied to clipboard
granted
Link copied to clipboard
val
granted
:
Boolean
Content copied to clipboard
start
Link copied to clipboard
val
start
:
Calendar
Content copied to clipboard
start
Date
Link copied to clipboard
val
startDate
:
Date
Content copied to clipboard
state
Link copied to clipboard
open
val
state
:
Consent.State
Content copied to clipboard
Inheritors
FeatureConsent
Link copied to clipboard
CampaignConsent
Link copied to clipboard