VAMPPrivacySettings

Objective-C

@interface VAMPPrivacySettings : NSObject

Swift

class VAMPPrivacySettings : NSObject

ユーザのプライバシーの設定を定義します。

  • COPPA対象ユーザであるかどうかを設定します。 これらの対象の国ユーザが特定の年齢未満の場合にはTrueを設定してください。

    Declaration

    Objective-C

    + (void)setChildDirected:(VAMPChildDirected)childDirected;

    Parameters

    childDirected

    ユーザの年齢が特定の年齢未満かどうか

  • 特定の年齢未満のユーザからのアクセスであるかどうかを取得します。 setChildDirectedで設定した値を返却します。

    Declaration

    Objective-C

    + (VAMPChildDirected)childDirected;

    Return Value

    setChildDirectedで設定した値

  • ユーザの同意ステータスを設定します。 ユーザの同意がある場合はkVAMPConsentStatusAcceptedをセットします。

    Declaration

    Objective-C

    + (void)setConsentStatus:(VAMPConsentStatus)consentStatus;

    Parameters

    consentStatus

    同意ステータス( VAMPConsentStatus 参照)

  • ユーザの同意ステータスを取得します。

    setConsentStatusで設定した値を返却します。

    Declaration

    Objective-C

    + (VAMPConsentStatus)consentStatus;

    Return Value

    setConsentStatusで設定した値

  • GDPRの対象ユーザで特定の年齢未満であるかどうかを設定します。

    Declaration

    Objective-C

    + (void)setUnderAgeOfConsent:(VAMPUnderAgeOfConsent)underAgeOfConsent;

    Parameters

    underAgeOfConsent

    特定の年齢未満のユーザかどうか

  • GDPRの対象ユーザで特定の年齢未満であるかどうかを取得します。

    setUnderAgeOfConsentで設定した値を返却します。

    Declaration

    Objective-C

    + (VAMPUnderAgeOfConsent)underAgeOfConsent;

    Return Value

    setUnderAgeOfConsentで設定した値