PrivMX DOCS
API Reference/PrivMX Endpoint Java Android/Core

PrivmxEndpointBaseActivity

Manages PrivmxEndpointService and active connections.

Constructors

PrivmxEndpointBaseActivity

public void PrivmxEndpointBaseActivity()

Fields

privmxEndpointContainer

PrivmxEndpointContainer Container instance for active connections to handle PrivMX Bridge.

Methods

getCertPath

Override this method to set the path to your .pem certificate to create secure connection with PrivMX Bridge.

protected String getCertPath()

Returns

String · Path to .pem certificate.

onPrivmxEndpointStart

Method called when PrivmxEndpointService and PrivmxEndpointContainer have been successfully initialized. Override this method to safely work with PrivmxEndpointBaseActivity#privmxEndpointContainer.

protected void onPrivmxEndpointStart()

onStart

Starting and binding to PrivmxEndpointService with passing path to .pem certificate returned from #getCertPath().

protected void onStart()

onStop

Unregisters all callbacks registered using PrivmxEndpoint#registerCallback(Object, EventType, EventCallback) identified by this instance and unbinds PrivmxEndpointService.

protected void onStop()

We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.

PrivMX Endpoint Java v2.3

This package is not up to date with the core documentation. Some of the features you've seen described in other parts of the documentation might not be mentioned here. Those changes do not influence compatibility, however