onCreate

open override fun onCreate(): Boolean

A lifecycle callback method that overrides FileProvider.onCreate.

This callback is invoked when the provider is being created.

Return

True if the provider was successfully created, false otherwise.