@adobe/react-native-aepedgeidentity
Version:
Adobe Experience Platform Identity for Edge Network extension for Adobe Experience Platform Mobile SDK. Written and maintained by Adobe.
26 lines (25 loc) • 788 B
TypeScript
import IdentityItem from './IdentityItem';
declare class IdentityMap {
identityMap: Record<string, Array<IdentityItem>>;
/**
* Adds an `IdentityItem` to this `IdentityMap`
*/
addItem(item: IdentityItem, namespace: string): void;
/**
* Checks if this `IdentityMap` is empty
*/
isEmpty(): boolean;
/**
* Gets a list of all namespaces available in this `IdentityMap`
*/
getNamespaces(): string[];
/**
* Retrieves the IdentityItems for a given namespace
*/
getIdentityItemsForNamespace(namespace: string): Array<IdentityItem>;
/**
* Removes the provided `IdentityItem` for a namespace from the `IdentityMap`
*/
removeItem(item: IdentityItem, namespace: string): void;
}
export default IdentityMap;