Class UriHelpers
java.lang.Object
com.exxothermic.audioeverywheresdk.helper.logic.UriHelpers
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
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 nameresourceId
- the resource Id that need to get opened- Returns:
- an string of the resource ID
-