Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Hide peer constructors #12491

Closed
tobrun opened this issue Jul 26, 2018 · 0 comments
Closed

Hide peer constructors #12491

tobrun opened this issue Jul 26, 2018 · 0 comments
Labels
Android Mapbox Maps SDK for Android

Comments

@tobrun
Copy link
Member

tobrun commented Jul 26, 2018

To enable constructing peer objects, we expose constructors as:

  /**
   * Internal use
   *
   * @param nativePtr - pointer to native peer
   */
  public GeoJsonSource(long nativePtr) {
    super(nativePtr);
  }

These constructors have the public modifier but that isn't required when creating these peer objects from jni. Would prefer hiding them from public api as they are noted to be for internal use only.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

No branches or pull requests

1 participant