VAMPPrivacySettings
Objective-C
@interface VAMPPrivacySettings : NSObject
Swift
class VAMPPrivacySettings : NSObject
ユーザのプライバシーの設定を定義します。
-
COPPA対象ユーザであるかどうかを設定します。 これらの対象の国ユーザが特定の年齢未満の場合にはYESを設定してください。 以下のアドネットワークの特定の年齢未満のユーザからのアクセスかどうかを設定する機能と連動します。 (AdMob、LINEAds、Pangle)
Declaration
Objective-C
+ (void)setChildDirected:(VAMPChildDirected)childDirected;Swift
class func setChildDirected(_ childDirected: VAMPChildDirected)Parameters
childDirectedユーザの年齢が特定の年齢未満かどうか
-
特定の年齢未満のユーザからのアクセスであるかどうかを取得します。 setChildDirectedで設定した値を返却します。
Declaration
Objective-C
+ (VAMPChildDirected)childDirected;Swift
class func childDirected() -> VAMPChildDirectedReturn Value
setChildDirectedで設定した値
-
ユーザの同意ステータスを設定します。 ユーザの同意がある場合はkVAMPConsentStatusAcceptedをセットします。
Declaration
Objective-C
+ (void)setConsentStatus:(VAMPConsentStatus)consentStatus;Swift
class func setConsentStatus(_ consentStatus: VAMPConsentStatus)Parameters
consentStatus同意ステータス( VAMPConsentStatus 参照)
-
ユーザの同意ステータスを取得します。
setConsentStatusで設定した値を返却します。
Declaration
Objective-C
+ (VAMPConsentStatus)consentStatus;Swift
class func consentStatus() -> VAMPConsentStatusReturn Value
setConsentStatusで設定した値
-
GDPRの対象ユーザで特定の年齢未満であるかどうかを設定します。 以下のアドネットワークと連動します。 (AdMob、LINEAds)
Declaration
Objective-C
+ (void)setUnderAgeOfConsent:(VAMPUnderAgeOfConsent)underAgeOfConsent;Swift
class func setUnderAgeOfConsent(_ underAgeOfConsent: VAMPUnderAgeOfConsent)Parameters
underAgeOfConsent特定の年齢未満のユーザかどうか
-
GDPRの対象ユーザで特定の年齢未満であるかどうかを取得します。
setUnderAgeOfConsentで設定した値を返却します。
Declaration
Objective-C
+ (VAMPUnderAgeOfConsent)underAgeOfConsent;Swift
class func underAgeOfConsent() -> VAMPUnderAgeOfConsentReturn Value
setUnderAgeOfConsentで設定した値
View on GitHub
VAMPPrivacySettings Class Reference