ConsentInformation
ConsentInformation クラスは、現在の同意ステータスの確認、同意情報の更新リクエスト、同意状態のリセットを行うメソッドを提供します。UserMessagingPlatform.consent_information (GDScript) または UserMessagingPlatform.ConsentInformation (C#) からアクセスします。
列挙型
| 列挙型 | 説明 |
|---|---|
| ConsentStatus | ユーザーの同意ステータスを示します。 |
| PrivacyOptionsRequirementStatus | プライバシーオプションが必要かどうかを示します。 |
メソッド
get_consent_status / GetConsentStatus
現在のユーザーの同意ステータスを返します。
get_is_consent_form_available / GetIsConsentFormAvailable
同意フォームをロードできるかどうかを返します。
get_privacy_options_requirement_status / GetPrivacyOptionsRequirementStatus
ユーザーにプライバシーオプションを提示する必要があるかどうかを返します。
update / Update
指定されたパラメータで同意情報の更新をリクエストします。
func update(
consent_request: ConsentRequestParameters,
on_consent_info_updated_success := func(): pass,
on_consent_info_updated_failure := func(form_error: FormError): pass
) -> void
使用法:
reset / Reset
同意状態を未確定にリセットします。