app
androidJvm
app
/
openfoodfacts.github.scrachx.openfood.utils
/
PhotoReceiverHandler
Photo
Receiver
Handler
androidJvm
@
Singleton
class
PhotoReceiverHandler
@
Inject
constructor
(
sharedPreferences
:
SharedPreferences
)
Content copied to clipboard
A class for handling photo receiver
Types
Constructors
Functions
Constructors
Photo
Receiver
Handler
Link copied to clipboard
androidJvm
@
Inject
fun
PhotoReceiverHandler
(
sharedPreferences
:
SharedPreferences
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
androidJvm
object
Companion
Content copied to clipboard
Functions
on
Activity
Result
Link copied to clipboard
androidJvm
fun
onActivityResult
(
activity
:
Activity
,
requestCode
:
Int
,
resultCode
:
Int
,
data
:
Intent
?
,
photoReceiver
:
(
File
)
->
Unit
)
Content copied to clipboard
fun
onActivityResult
(
fragment
:
Fragment
,
requestCode
:
Int
,
resultCode
:
Int
,
data
:
Intent
?
,
photoReceiver
:
(
File
)
->
Unit
)
Content copied to clipboard