java.lang.Object
com.exxothermic.audioeverywheresdk.helper.logic.UriHelpers

public class UriHelpers extends Object
Class that will contain methods for URI generation, pointing to Android resources, used to load custom resources from URL when needed
Since:
2015-09-04
  • Constructor Details

    • UriHelpers

      public UriHelpers()
  • Method Details

    • getUriForResourceId

      @NonNull public static String getUriForResourceId(android.content.Context appContext, int resourceId)
      Method that will return, based on the app context and the resource Id, the URI to open the resource directly,using the android resource schema
      Parameters:
      appContext - the context to get the package name
      resourceId - the resource Id that need to get opened
      Returns:
      an string of the resource ID