プログラムによるスクリーンショットの取得
- Objective-C
-
[ADEumInstrumentation takeScreenshot]; - Swift
-
ADEumInstrumentation.takeScreenshot()
スクリーンショットの無効化
- Objective-C
-
ADEumAgentConfiguration *config = [[ADEumAgentConfiguration alloc] initWithAppKey: <#EUM_APP_KEY#>]; config.screenshotsEnabled = NO; [ADEumInstrumentation initWithConfiguration:config]; - Swift
-
let config = ADEumAgentConfiguration(appKey: <#EUM_APP_KEY#>); config.screenshotsEnabled = false; ADEumInstrumentation.initWith(config);