public class CognitoPinpointSharedContext
extends java.lang.Object
Constructor and Description |
---|
CognitoPinpointSharedContext() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getPinpointEndpoint(android.content.Context context,
java.lang.String pinpointAppId)
Returns the pinpoint endpoint id for the provided Pinpoint App Id.
|
static java.lang.String |
getPinpointEndpoint(android.content.Context context,
java.lang.String pinpointAppId,
java.lang.String pinpointEndpointIdentifier)
Returns the pinpoint endpoint id for the provided Pinpoint App Id and user.
|
public static java.lang.String getPinpointEndpoint(android.content.Context context, java.lang.String pinpointAppId)
context
- Required, Context
.pinpointAppId
- Required, the pinpoint appId.public static java.lang.String getPinpointEndpoint(android.content.Context context, java.lang.String pinpointAppId, java.lang.String pinpointEndpointIdentifier)
Returns the pinpoint endpoint id for a the pinpointAppId
and pinpointEndpointIdentifier
.
Generates and stores a new pinpoint endpoint id if a pinpoint endpoint id is not available for this
combination.
context
- Required, Context
.pinpointAppId
- Required, the pinpoint appId.pinpointEndpointIdentifier
- Required, the pinpoint user identifier.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.