Class ServiceEndpoints

java.lang.Object
com.launchdarkly.sdk.android.interfaces.ServiceEndpoints

public final class ServiceEndpoints extends Object
Specifies the base service URIs used by SDK components.

See ServiceEndpointsBuilder for more details on these properties.

Since:
4.0.0
  • Constructor Details

    • ServiceEndpoints

      public ServiceEndpoints(URI streamingBaseUri, URI pollingBaseUri, URI eventsBaseUri)
      Used internally by the SDK to store service endpoints.
      Parameters:
      streamingBaseUri - the base URI for the streaming service
      pollingBaseUri - the base URI for the polling service
      eventsBaseUri - the base URI for the events service
  • Method Details

    • getStreamingBaseUri

      public URI getStreamingBaseUri()
      The base URI for the streaming service.
      Returns:
      the base URI, or null
    • getPollingBaseUri

      public URI getPollingBaseUri()
      The base URI for the polling service.
      Returns:
      the base URI, or null
    • getEventsBaseUri

      public URI getEventsBaseUri()
      The base URI for the events service.
      Returns:
      the base URI, or null