We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 176f74f commit 12642a2Copy full SHA for 12642a2
urimod/src/main/java/com/facebook/fresco/urimod/UriModifierInterface.kt
@@ -35,6 +35,16 @@ interface UriModifierInterface {
35
contextChain: ContextChain? = null,
36
): ModificationResult = ModificationResult.Disabled("Default")
37
38
+ /**
39
+ * Modifies the network uri adaptively based on current network or other conditions. No need to
40
+ * provide viewport or scale type since those are extracted from the uri itself.
41
+ */
42
+ fun modifyNetworkUriAdaptively(
43
+ uri: Uri,
44
+ callerContext: Any?,
45
+ contextChain: ContextChain? = null,
46
+ ): ModificationResult = ModificationResult.Disabled("Default")
47
+
48
fun unregisterReverseFallbackUri(uri: Uri)
49
50
sealed class ModificationResult(private val comment: String) {
0 commit comments