Package 

Class ShareableUriProvider

    • Method Summary

      Modifier and Type Method Description
      final Uri getUriForFile(Context context, File file) Gets a content URI for the given file using FileProvider.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShareableUriProvider

        ShareableUriProvider()
    • Method Detail

      • getUriForFile

         final Uri getUriForFile(Context context, File file)

        Gets a content URI for the given file using FileProvider.

        Parameters:
        context - The Android context.
        file - The file to get the URI for.