レンダリングモード

次のレンダリングモードのいずれかを選択して、セッション録音を作成できます。デフォルトでは、セッションリプレイは Native モードを使用します。
モード 説明
RenderingMode.NATIVE アプリケーションの画面を定期的にキャプチャし、セッションリプレイによって即座に機密データが削除されます。その後、キャプチャした各フレームを結合して、1 つのセッション録音を作成します。
RenderingMode.WIREFRAME 画面データをワイヤフレームとしてのみ表現し、アプリケーションをキャプチャします。ユーザーデータは記録されません。これはユーザーデータのセキュリティ保護に推奨されるレンダリングメソッドです。

レンダリングモードの設定

レンダリングモードを設定するには、次のコードを使用してエージェントを構成します。
PYTHON
import com.appdynamics.eumagent.runtime.Instrumentation;
...
@Override public void onCreate(Bundle savedInstanceState) {
  Instrumentation.start(AgentConfiguration.builder()
    .withAppKey("<EUM_APP_KEY>")
    .withContext(getApplicationContext())
    // 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.
    .withSessionReplayEnabled.withSensitivity(true)
    .withBlobServiceURL(configHelper.getSessionReplayUrl()) 
    .build());
  ...
}

レンダリングモードの読み取り

レンダリングモードを読み取るには、次のコードを使用してエージェントを構成します。
PYTHON
import com.appdynamics.eumagent.runtime.Instrumentation;
...
@Override public void onCreate(Bundle savedInstanceState) {
  Instrumentation.start(AgentConfiguration.builder()
    .withAppKey("<EUM_APP_KEY>")
    .withContext(getApplicationContext())
    // 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.
    .withSessionReplayEnabled.withSensitivity(true)
    .withBlobServiceURL(<Session Replay URL>) 
    .build());
  ...
}