Class ServiceEndpoints
java.lang.Object
com.launchdarkly.sdk.android.interfaces.ServiceEndpoints
Specifies the base service URIs used by SDK components.
See ServiceEndpointsBuilder
for more details on these properties.
- Since:
- 4.0.0
-
Constructor Summary
ConstructorDescriptionServiceEndpoints
(URI streamingBaseUri, URI pollingBaseUri, URI eventsBaseUri) Used internally by the SDK to store service endpoints. -
Method Summary
Modifier and TypeMethodDescriptionThe base URI for the events service.The base URI for the polling service.The base URI for the streaming service.
-
Constructor Details
-
ServiceEndpoints
Used internally by the SDK to store service endpoints.- Parameters:
streamingBaseUri
- the base URI for the streaming servicepollingBaseUri
- the base URI for the polling serviceeventsBaseUri
- the base URI for the events service
-
-
Method Details
-
getStreamingBaseUri
The base URI for the streaming service.- Returns:
- the base URI, or null
-
getPollingBaseUri
The base URI for the polling service.- Returns:
- the base URI, or null
-
getEventsBaseUri
The base URI for the events service.- Returns:
- the base URI, or null
-