{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Treasure AI Unity SDK API リファレンス","description":"Treasure AI Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"treasure-data-unity-sdk-api-リファレンス","__idx":0},"children":["Treasure Data Unity SDK API リファレンス"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"概要","__idx":1},"children":["概要"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"class TreasureData;\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ITreasureData"]}," インターフェースは、Unity 開発で使用するためにネイティブの iOS および Android SDK をラップします。ご不明な点がある場合は、基盤となる SDK API リファレンスドキュメントを参照してください。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"パブリックプロパティ","__idx":2},"children":["パブリックプロパティ"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"property-instance","__idx":3},"children":["property Instance"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static ITreasureData Instance;\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data オブジェクトインスタンス。アクセスする前に必ず ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["InitializeApiKey"]}," を呼び出してください。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"property-defaultdatabase","__idx":4},"children":["property DefaultDatabase"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"string DefaultDatabase;\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["イベントの送信先となるデフォルトデータベース。初期化時に設定することをお勧めします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"property-defaulttable","__idx":5},"children":["property DefaultTable"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"string DefaultTable;\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["イベントの送信先となるデフォルトテーブル。初期化時に設定することをお勧めします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"パブリック関数","__idx":6},"children":["パブリック関数"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"InitializeApiKey"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"initializeapikey","__idx":7},"children":["InitializeApiKey"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline void InitializeApiKey(\n    string apiKey\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["書き込み専用の Treasure API キーを設定します。初期化時に設定することをお勧めします。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["apiKey"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TD 書き込み専用 API キー"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableLogging"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enablelogging","__idx":8},"children":["EnableLogging"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline void EnableLogging()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デバッグログを有効にします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableLogging"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disablelogging","__idx":9},"children":["DisableLogging"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline void DisableLogging()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デバッグログを無効にします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"InitializeApiEndpoint"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"initializeapiendpoint","__idx":10},"children":["InitializeApiEndpoint"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline void InitializeApiEndpoint(\n    string apiEndpoint\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["使用する Treasure API エンドポイントを設定します。デフォルトは ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["records.in.treasuredata.com"]}," です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["例"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"TreasureData.InitializeApiEndpoint(\"https://us01.records.in.treasuredata.com\");\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["apiEndpoint"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データの送信先 API エンドポイント"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"InitializeEncryptionKey"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"initializeencryptionkey","__idx":11},"children":["InitializeEncryptionKey"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline void InitializeEncryptionKey(\n    string encryptionKey\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["AES 128 暗号化を初期化します。文字列は 128 文字未満である必要があります。これにより ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["AddEvent"]}," に渡されるイベントデータが暗号化されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["例"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"TreasureData.InitializeEncryptionKey(\"hello world\");\n    :\nTreasureData.Instance.AddEvent(\"testdb\", \"unitytbl\", ev);\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["encryptionKey"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ローカルデバイス暗号化に使用する暗号化キーの文字列"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"InitializeDefaultApiKey"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"initializedefaultapikey","__idx":12},"children":["InitializeDefaultApiKey"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline void InitializeDefaultApiKey(\n    string apiKey\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["初期化されたすべての TD オブジェクトで自動的に使用されるデフォルト API キーを設定します。書き込み専用 API キーの使用をお勧めします。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["apiKey"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TD 書き込み専用 API キー"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"InitializeDefaultDatabase"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"initializedefaultdatabase","__idx":13},"children":["InitializeDefaultDatabase"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline void InitializeDefaultDatabase(\n    string database\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["初期化されたすべての TD オブジェクトで自動的に使用されるデフォルトデータベースを設定します。このデータベースが Treasure アカウントにすでに存在していることを確認してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["例"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"TreasureData.InitializeDefaultDatabase(\"testdb\");\n    :\nTreasureData.Instance.AddEvent(\"unitytbl\", ev);\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["database"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["データベース名"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"StartGlobalSession"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"startglobalsession","__idx":14},"children":["StartGlobalSession"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline void StartGlobalSession()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["グローバルセッションのトラッキングを開始します。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EndGlobalSession"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"endglobalsession","__idx":15},"children":["EndGlobalSession"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline void EndGlobalSession()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["グローバルセッションのトラッキングを終了します。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"GetGlobalSessionId"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"getglobalsessionid","__idx":16},"children":["GetGlobalSessionId"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"static inline string GetGlobalSessionId()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["現在のグローバルセッション ID を取得します。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableCustomEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enablecustomevent","__idx":17},"children":["EnableCustomEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableCustomEvent()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["カスタムイベントトラッキングを有効にします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableCustomEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disablecustomevent","__idx":18},"children":["DisableCustomEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void DisableCustomEvent()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["カスタムイベントトラッキングを無効にします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"IsCustomEventEnabled"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"iscustomeventenabled","__idx":19},"children":["IsCustomEventEnabled"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool IsCustomEventEnabled()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["カスタムイベントトラッキングが有効かどうかを返します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": true: 有効、false: 無効"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableAppLifecycleEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableapplifecycleevent","__idx":20},"children":["EnableAppLifecycleEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableAppLifecycleEvent()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アプリライフサイクルトラッキングを有効にします。この設定はカスタムトラッキングには影響しません。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableAppLifecycleEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disableapplifecycleevent","__idx":21},"children":["DisableAppLifecycleEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void DisableAppLifecycleEvent()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アプリライフサイクルトラッキングを無効にします。この設定はカスタムトラッキングには影響しません。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"IsAppLifecycleEventEnabled"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"isapplifecycleeventenabled","__idx":22},"children":["IsAppLifecycleEventEnabled"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool IsAppLifecycleEventEnabled()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アプリケーションライフサイクルトラッキングが有効かどうかを返します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": true: 有効、false: 無効"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableInAppPurchaseEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableinapppurchaseevent","__idx":23},"children":["EnableInAppPurchaseEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableInAppPurchaseEvent(\n    bool flag =true\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アプリ内購入イベントの自動トラッキングを有効にします。デフォルトでは無効です。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["flag"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Boolean true / false"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableInAppPurchaseEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disableinapppurchaseevent","__idx":24},"children":["DisableInAppPurchaseEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void DisableInAppPurchaseEvent()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アプリ内購入イベントの自動トラッキングを無効にします。デフォルトでは無効です。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"IsInAppPurchaseEventEnabled"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"isinapppurchaseeventenabled","__idx":25},"children":["IsInAppPurchaseEventEnabled"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool IsInAppPurchaseEventEnabled()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アプリ内購入トラッキングが有効かどうかを返します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": true: 有効、false: 無効"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"ResetUniqId"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"resetuniqid","__idx":26},"children":["ResetUniqId"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void ResetUniqId()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["UUID をリセットし、古い UUID で ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["forget_device_uuid"]}," イベントを送信します。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"AddEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"addevent","__idx":27},"children":["AddEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool AddEvent(\n    string table,\n    string key,\n    object val\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ローカルバッファにイベントを追加します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["table"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先テーブル"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントオブジェクトのキー"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["val"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントオブジェクトの値"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": bool 成功/失敗を示す boolean"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"AddEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"addevent-1","__idx":28},"children":["AddEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool AddEvent(\n    string table,\n    string key,\n    object val,\n    OnSuccess onSuccess,\n    OnError onError\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コールバック付きでローカルバッファにイベントを追加します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["table"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先テーブル"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントオブジェクトのキー"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["val"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントオブジェクトの値"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onSuccess"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["正常実行時のコールバック関数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onError"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["失敗時のコールバック関数"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": bool 成功/失敗を示す boolean"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"AddEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"addevent-2","__idx":29},"children":["AddEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool AddEvent(\n    string table,\n    Dictionary< string, object > obj\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ローカルバッファにイベントを追加します。データベースとして DefaultDatabase を使用します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["table"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先テーブル"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["obj"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントオブジェクト"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": bool 成功/失敗を示す boolean"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"AddEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"addevent-3","__idx":30},"children":["AddEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool AddEvent(\n    string table,\n    Dictionary< string, object > obj,\n    OnSuccess onSuccess,\n    OnError onError\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コールバック付きでローカルバッファにイベントを追加します。データベースとして DefaultDatabase を使用します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["table"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先テーブル"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["obj"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントオブジェクト"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onSuccess"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["正常実行時のコールバック関数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onError"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["失敗時のコールバック関数"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": bool 成功/失敗を示す boolean"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"AddEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"addevent-4","__idx":31},"children":["AddEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool AddEvent(\n    string database,\n    string table,\n    string key,\n    object val\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ローカルバッファにイベントを追加します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["database"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先データベース"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["table"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先テーブル"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントオブジェクトのキー"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["val"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントオブジェクトの値"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": bool 成功/失敗を示す boolean"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"AddEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"addevent-5","__idx":32},"children":["AddEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool AddEvent(\n    string database,\n    string table,\n    string key,\n    object val,\n    OnSuccess onSuccess,\n    OnError onError\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コールバック付きでローカルバッファにイベントを追加します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["database"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先データベース"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["table"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先テーブル"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["key"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントオブジェクトのキー"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["val"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントオブジェクトの値"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onSuccess"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["正常実行時のコールバック関数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onError"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["失敗時のコールバック関数"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": bool 成功/失敗を示す boolean"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"AddEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"addevent-6","__idx":33},"children":["AddEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool AddEvent(\n    string database,\n    string table,\n    Dictionary< string, object > events\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ローカルバッファにイベントを追加します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["database"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先データベース"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["table"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先テーブル"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["events"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントデータ"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": bool 成功/失敗を示す boolean"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"AddEvent"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"addevent-7","__idx":34},"children":["AddEvent"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline bool AddEvent(\n    string database,\n    string table,\n    Dictionary< string, object > events,\n    OnSuccess onSuccess,\n    OnError onError\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コールバック付きでローカルバッファにイベントを追加します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["database"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先データベース"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["table"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントの送信先テーブル"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["events"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["イベントデータ"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onSuccess"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["正常実行時のコールバック関数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onError"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["失敗時のコールバック関数"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": bool 成功/失敗を示す boolean"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"UploadEvents"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"uploadevents","__idx":35},"children":["UploadEvents"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void UploadEvents()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ローカルバッファから Treasure Data にイベントをアップロードします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"UploadEvents"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"uploadevents-1","__idx":36},"children":["UploadEvents"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void UploadEvents(\n    OnSuccess onSuccess,\n    OnError onError\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ローカルバッファから Treasure Data にイベントをアップロードします。成功または失敗時に ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onSuccess"]}," および ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["onError"]}," コールバックをトリガーします。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onSuccess"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アップロード成功時にトリガーするコールバック関数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["onError"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アップロード失敗時にトリガーするコールバック関数"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableAutoAppendUniqId"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disableautoappenduniqid","__idx":37},"children":["DisableAutoAppendUniqId"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void DisableAutoAppendUniqId()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["自動付加される ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_uuid"]}," 列を無効にします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableAutoAppendUniqId"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableautoappenduniqid","__idx":38},"children":["EnableAutoAppendUniqId"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableAutoAppendUniqId()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すべてのイベントに ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_uuid"]}," 列を自動的に付加します。値はランダムに生成され、アプリケーションの起動やイベントをまたいで保持されます。基本的に、アプリケーションの一意のインストールインスタンスを表すために使用されます。デフォルトでは無効です。アプリケーションがアンインストールされるまでこの値は変わりません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["例"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"TreasureData.Instance.EnableAutoAppendUniqId();\n    :\nTreasureData.Instance.AddEvent(\"unitytbl\", \"name\", \"foobar\");\n// 出力 =>>\n//   {\"td_uuid_id\":\"cad88260-67b4-0242-1329-2650772a66b1\", \"name\":\"foobar\", ... }\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableAutoAppendModelInformation"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disableautoappendmodelinformation","__idx":39},"children":["DisableAutoAppendModelInformation"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void DisableAutoAppendModelInformation()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["モデル情報の自動トラッキングを無効にします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableAutoAppendModelInformation"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableautoappendmodelinformation","__idx":40},"children":["EnableAutoAppendModelInformation"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableAutoAppendModelInformation()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["デバイスモデル情報の自動トラッキングを有効にします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["例"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"TreasureData.Instance.EnableAutoAppendModelInformation();\n    :\nTreasureData.Instance.AddEvent(\"unitytbl\", \"name\", \"foobar\");\n// 出力 =>>\n//   {\"td_device\":\"iPod touch\", \"name\":\"foobar\", ... }\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の列名と値が出力されます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["iOS",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_device"]}," : UIDevice.model",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_model"]}," : UIDevice.model"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_os_ver"]}," : UIDevice.model.systemVersion"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_os_type"]}," : \"iOS\""]}]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Android",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_board"]}," : android.os.Build::BOARD"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_brand"]}," : android.os.Build::BRAND"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_device"]}," : android.os.Build::DEVICE"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_display"]}," : android.os.Build::DISPLAY"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_model"]}," : android.os.Build::MODEL"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_os_ver"]}," : android.os.Build.VERSION::SDK_INT"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_os_type"]}," : \"Android\""]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableAutoAppendAppInformation"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disableautoappendappinformation","__idx":41},"children":["DisableAutoAppendAppInformation"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void DisableAutoAppendAppInformation()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アプリケーション情報の自動トラッキングを無効にします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableAutoAppendAppInformation"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableautoappendappinformation","__idx":42},"children":["EnableAutoAppendAppInformation"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableAutoAppendAppInformation()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アプリケーションパッケージのバージョン情報が各イベントに自動的に追加されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["例"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"TreasureData.Instance.EnableAutoAppendAppInformation();\n    :\nTreasureData.Instance.AddEvent(\"unitytbl\", \"name\", \"foobar\");\n// 出力 =>>\n//   {\"td_app_ver\":\"1.2.3\", \"name\":\"foobar\", ... }\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の列名と値が出力されます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["iOS",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_app_ver"]}," : Core Foundation キー ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CFBundleShortVersionString"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_app_ver_num"]}," : Core Foundation キー ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CFBundleVersion"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Android",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_app_ver"]}," : android.content.pm.PackageInfo.versionName（Context.getPackageManager().getPackageInfo() から取得）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_app_ver_num"]}," : android.content.pm.PackageInfo.versionCode（Context.getPackageManager().getPackageInfo() から取得）"]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableAutoAppendLocaleInformation"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disableautoappendlocaleinformation","__idx":43},"children":["DisableAutoAppendLocaleInformation"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void DisableAutoAppendLocaleInformation()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ロケール情報の自動トラッキングを無効にします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableAutoAppendLocaleInformation"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableautoappendlocaleinformation","__idx":44},"children":["EnableAutoAppendLocaleInformation"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableAutoAppendLocaleInformation()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各イベントに追加することでロケール情報の自動トラッキングを有効にします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["例"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"TreasureData.Instance.EnableAutoAppendLocaleInformation();\n    :\ntd.AddEvent(\"unitytbl\", \"name\", \"foobar\");\n// 出力 =>>\n//   {\"td_locale_lang\":\"en\", \"name\":\"foobar\", ... }\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["以下の列名と値が出力されます:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["iOS",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_locale_country"]}," : [[NSLocale currentLocale] objectForKey: NSLocaleCountryCode]"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_locale_lang"]}," : [[NSLocale currentLocale] objectForKey: NSLocaleLanguageCode]"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Android",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_locale_country"]}," : java.util.Locale.getCountry()（Context.getResources().getConfiguration().locale から取得）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["td_locale_lang"]}," : java.util.Locale.getLanguage()（Context.getResources().getConfiguration().locale から取得）"]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableServerSideUploadTimestamp"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableserversideuploadtimestamp","__idx":45},"children":["EnableServerSideUploadTimestamp"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableServerSideUploadTimestamp()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サーバーでイベントが受信された際に、サーバーサイドのアップロードタイムスタンプを自動的に付加します。デフォルトでは無効です。列名はデフォルトで ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time"]}," に設定されます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["例"]},": サーバーサイドのアップロード時刻を ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["time"]}," 列として使用する場合"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"td.EnableServerSideUploadTimestamp();\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableServerSideUploadTimestamp"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableserversideuploadtimestamp-1","__idx":46},"children":["EnableServerSideUploadTimestamp"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableServerSideUploadTimestamp(\n    string v\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["サーバーでイベントが受信された際に、サーバーサイドのアップロードタイムスタンプを自動的に付加します。デフォルトでは無効です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["例"]},": サーバーサイドのアップロード時刻をカスタム列名で追加する場合"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"td.EnableServerSideUploadTimestamp(\"server_upload_time\");\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["columnName"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アップロード時刻の値を書き込む列を設定します"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableServerSideUploadTimestamp"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disableserversideuploadtimestamp","__idx":47},"children":["DisableServerSideUploadTimestamp"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void DisableServerSideUploadTimestamp()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アップロード時刻列を無効にします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableAutoAppendRecordUUID"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableautoappendrecorduuid","__idx":48},"children":["EnableAutoAppendRecordUUID"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableAutoAppendRecordUUID()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各イベントにランダムかつ一意の ID を自動的に付加します。デフォルトの列名は ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["record_uuid"]}," です。各イベントには異なる UUID が付与されます。デフォルトでは無効です。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["例"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"TreasureData.Instance.EnableAutoAppendRecordUUID();\n// 列名をカスタマイズする場合は API に渡してください\n// TreasureData.Instance.EnableAutoAppendRecordUUID(\"my_record_uuid\");\n    :\nTreasureData.Instance.AddEvent(...);\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableAutoAppendRecordUUID"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableautoappendrecorduuid-1","__idx":49},"children":["EnableAutoAppendRecordUUID"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableAutoAppendRecordUUID(\n    string v\n)\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各イベントにランダムかつ一意の ID を自動的に付加します。デフォルトでは無効です。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"パラメータ"},"children":["パラメータ"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"説明"},"children":["説明"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["columnName"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ID を書き込む列"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableAutoAppendRecordUUID"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disableautoappendrecorduuid","__idx":50},"children":["DisableAutoAppendRecordUUID"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void DisableAutoAppendRecordUUID()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各イベントへの ID 付加を無効にします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"DisableRetryUploading"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"disableretryuploading","__idx":51},"children":["DisableRetryUploading"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void DisableRetryUploading()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["自動再試行アップロードを無効にします。無効にした後、アプリケーションはアップロードイベントごとに1回のみイベントのアップロードを試みます。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"EnableRetryUploading"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"enableretryuploading","__idx":52},"children":["EnableRetryUploading"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void EnableRetryUploading()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["自動再試行アップロードを有効にします。有効にすると、すべてのイベントが正常にアップロードされるまでアプリケーションはイベントのアップロードを継続して試みます。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"ClearFirstRun"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"clearfirstrun","__idx":53},"children":["ClearFirstRun"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline void ClearFirstRun()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["初回起動フラグをクリアします。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"name":"GetSessionId"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"getsessionid","__idx":54},"children":["GetSessionId"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cpp","header":{"controls":{"copy":{}}},"source":"inline string GetSessionId()\n","lang":"cpp"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["現在のセッション ID を取得します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["戻り値"]},": string セッション ID"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]}]},"headings":[{"value":"Treasure Data Unity SDK API リファレンス","id":"treasure-data-unity-sdk-api-リファレンス","depth":1},{"value":"概要","id":"概要","depth":2},{"value":"パブリックプロパティ","id":"パブリックプロパティ","depth":2},{"value":"property Instance","id":"property-instance","depth":3},{"value":"property DefaultDatabase","id":"property-defaultdatabase","depth":3},{"value":"property DefaultTable","id":"property-defaulttable","depth":3},{"value":"パブリック関数","id":"パブリック関数","depth":2},{"value":"InitializeApiKey","id":"initializeapikey","depth":3},{"value":"EnableLogging","id":"enablelogging","depth":3},{"value":"DisableLogging","id":"disablelogging","depth":3},{"value":"InitializeApiEndpoint","id":"initializeapiendpoint","depth":3},{"value":"InitializeEncryptionKey","id":"initializeencryptionkey","depth":3},{"value":"InitializeDefaultApiKey","id":"initializedefaultapikey","depth":3},{"value":"InitializeDefaultDatabase","id":"initializedefaultdatabase","depth":3},{"value":"StartGlobalSession","id":"startglobalsession","depth":3},{"value":"EndGlobalSession","id":"endglobalsession","depth":3},{"value":"GetGlobalSessionId","id":"getglobalsessionid","depth":3},{"value":"EnableCustomEvent","id":"enablecustomevent","depth":3},{"value":"DisableCustomEvent","id":"disablecustomevent","depth":3},{"value":"IsCustomEventEnabled","id":"iscustomeventenabled","depth":3},{"value":"EnableAppLifecycleEvent","id":"enableapplifecycleevent","depth":3},{"value":"DisableAppLifecycleEvent","id":"disableapplifecycleevent","depth":3},{"value":"IsAppLifecycleEventEnabled","id":"isapplifecycleeventenabled","depth":3},{"value":"EnableInAppPurchaseEvent","id":"enableinapppurchaseevent","depth":3},{"value":"DisableInAppPurchaseEvent","id":"disableinapppurchaseevent","depth":3},{"value":"IsInAppPurchaseEventEnabled","id":"isinapppurchaseeventenabled","depth":3},{"value":"ResetUniqId","id":"resetuniqid","depth":3},{"value":"AddEvent","id":"addevent","depth":3},{"value":"AddEvent","id":"addevent-1","depth":3},{"value":"AddEvent","id":"addevent-2","depth":3},{"value":"AddEvent","id":"addevent-3","depth":3},{"value":"AddEvent","id":"addevent-4","depth":3},{"value":"AddEvent","id":"addevent-5","depth":3},{"value":"AddEvent","id":"addevent-6","depth":3},{"value":"AddEvent","id":"addevent-7","depth":3},{"value":"UploadEvents","id":"uploadevents","depth":3},{"value":"UploadEvents","id":"uploadevents-1","depth":3},{"value":"DisableAutoAppendUniqId","id":"disableautoappenduniqid","depth":3},{"value":"EnableAutoAppendUniqId","id":"enableautoappenduniqid","depth":3},{"value":"DisableAutoAppendModelInformation","id":"disableautoappendmodelinformation","depth":3},{"value":"EnableAutoAppendModelInformation","id":"enableautoappendmodelinformation","depth":3},{"value":"DisableAutoAppendAppInformation","id":"disableautoappendappinformation","depth":3},{"value":"EnableAutoAppendAppInformation","id":"enableautoappendappinformation","depth":3},{"value":"DisableAutoAppendLocaleInformation","id":"disableautoappendlocaleinformation","depth":3},{"value":"EnableAutoAppendLocaleInformation","id":"enableautoappendlocaleinformation","depth":3},{"value":"EnableServerSideUploadTimestamp","id":"enableserversideuploadtimestamp","depth":3},{"value":"EnableServerSideUploadTimestamp","id":"enableserversideuploadtimestamp-1","depth":3},{"value":"DisableServerSideUploadTimestamp","id":"disableserversideuploadtimestamp","depth":3},{"value":"EnableAutoAppendRecordUUID","id":"enableautoappendrecorduuid","depth":3},{"value":"EnableAutoAppendRecordUUID","id":"enableautoappendrecorduuid-1","depth":3},{"value":"DisableAutoAppendRecordUUID","id":"disableautoappendrecorduuid","depth":3},{"value":"DisableRetryUploading","id":"disableretryuploading","depth":3},{"value":"EnableRetryUploading","id":"enableretryuploading","depth":3},{"value":"ClearFirstRun","id":"clearfirstrun","depth":3},{"value":"GetSessionId","id":"getsessionid","depth":3}],"frontmatter":{"seo":{"title":"Treasure AI Unity SDK API リファレンス"}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/unity-sdk-api","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}