public class ScanContextUtils
extends java.lang.Object
Constructor and Description |
---|
ScanContextUtils() |
Modifier and Type | Method and Description |
---|---|
static ScanContext.Builder |
cloneBuilder(ScanContext scanContext)
Clones Builder with values from given ScanContext
|
static ScanContext |
cloneWithNewSpaces(ScanContext oldContext,
java.util.Collection<IBeaconRegion> regions,
java.util.Collection<IEddystoneNamespace> namespaces)
Returns deep cloned instance of immutable
ScanContext with new Regions and Namespaces |
public static ScanContext cloneWithNewSpaces(ScanContext oldContext, java.util.Collection<IBeaconRegion> regions, java.util.Collection<IEddystoneNamespace> namespaces)
ScanContext
with new Regions and NamespacesoldContext
- old contextregions
- new regionsnamespaces
- new namespacespublic static ScanContext.Builder cloneBuilder(ScanContext scanContext)
scanContext
- ScanContext