Rendering Modes

You can choose any of the following rendering modes to create session recordings. By default, Session Replay uses the Native mode.
Mode Description
RenderingMode.NATIVE Regularly captures the app screen which the Session Replay immediately processes to remove sensitive data. The frames are then complied to make the session recording.
RenderingMode.WIREFRAME Captures the app using only a wireframe representation of the screen data. No user data is recorded. This is the preferred rendering method for user data security.

Set the Rendering Mode

Configure the agent with the following code to set the rendering mode:
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());
  ...
}

Read the Rendering Mode

Configure the agent with the following code to read the rendering mode:
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());
  ...
}