private-storage

Private storage lets you to prevent storing Media files in Photo Album of the device. Files are in the application cannot be accessed by other application

To enable private storage#

This function is used to enable or disable storing files in device gallery. If it is enabled, files will not be stored in device gallery.

    ChatManager.enablePrivateStorage(enable: true)
    ArgumentTypeDescription
    enableBooleanif false files will be stored in device gallery, if true files will be not stored in device gallery and it is private. Default value is false

    To check private storage#

    This function is used to check whether private storage is enabled or not. If it returns true, private storage is enabled.

      ChatManager.isPrivateStorageEnabled()