セッションリプレイをレポートするための iOS エージェントの設定

  1. モバイルアプリケーションのセッションリプレイをレポートするには、次のように iOS エージェントを設定する必要があります。
    Objective C
    PYTHON
    #import <ADEumInstrumentation/ADEumInstrumentation.h>
    #import "AppDelegate.h"
      
        // ...
        -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
        {
            ADEumAgentConfiguration *config = [[ADEumAgentConfiguration alloc] initWithAppKey:<#EUM_APP_KEY#>];
            //The default SaaS EUM Server and Screenshot Service are in the Americas,
            // so you can omit the following settings if you are in the Americas.
            config.collectorURL = @"https://<your_region>-col.eum-appdynamics.com";
            config.screenshotURL = @"https://<your_region>-image.eum-appdynamics.com";
            config.sessionReplayURL = @"https://<your_region>-blob-service.eum-appdynamics.com";
            [ADEumInstrumentation initWithConfiguration: config];
            // other tasks
            return YES;
         }
    Swift
    JAVASCRIPT
    #import <ADEumInstrumentation/ADEumInstrumentation.h>
    #import "AppDelegate.h"
      
        // ...
         func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
            let config = ADEumAgentConfiguration(appKey: <#EUM_APP_KEY#>)
            config.collectorURL = "https://<your_region>.eum-appdynamics.com"
            config.screenshotURL = "https://<your_region>-image.eum-appdynamics.com"
            config.sessionReplayURL = "https://<your_region>-blob-service.eum-appdynamics.com"
            ADEumInstrumentation.initWith(config)
            // other tasks
            return true
        }
    // ...
    注: オレゴン(PDX)リージョンにリージョンを追加しないでください。
  2. モバイルアプリケーションのセッションリプレイをレポートするには、次のように iOS エージェントを設定する必要があります。
    Objective C
    PYTHON
    #import <ADEumInstrumentation/ADEumInstrumentation.h>
    #import "AppDelegate.h"
      
        // ...
        -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
        {
            ADEumAgentConfiguration *config = [[ADEumAgentConfiguration alloc] initWithAppKey:<#EUM_APP_KEY#>];
            //The default SaaS EUM Server and Screenshot Service are in the Americas,
            // so you can omit the following settings if you are in the Americas.
            config.collectorURL = @"https://<your_region>-col.eum-appdynamics.com";
            config.screenshotURL = @"https://<your_region>-image.eum-appdynamics.com";
            config.sessionReplayURL = @"https://<your_region>-blob-service.eum-appdynamics.com";
            [ADEumInstrumentation initWithConfiguration: config];
            // other tasks
            return YES;
         }
    Swift
    JAVASCRIPT
    #import <ADEumInstrumentation/ADEumInstrumentation.h>
    #import "AppDelegate.h"
      
        // ...
         func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
            let config = ADEumAgentConfiguration(appKey: <#EUM_APP_KEY#>)
            config.collectorURL = "https://<your_region>.eum-appdynamics.com"
            config.screenshotURL = "https://<your_region>-image.eum-appdynamics.com"
            config.sessionReplayURL = "https://<your_region>-blob-service.eum-appdynamics.com"
            ADEumInstrumentation.initWith(config)
            // other tasks
            return true
        }
    // ...
    注: オレゴン(PDX)リージョンにリージョンを追加しないでください。
セッション録音中にユーザーのプライバシーを保護するには、セッションリプレイを設定し、デフォルトですべてのテキストフィールドと入力フィールドを非表示にするオプションを有効にして、機密データをマスクします。詳細については、「機密データの取り扱い」「」を参照してください。