package Ġthings . dev . features . wifi . framework Ċ Ċ import Ġandroid . os . Build Ċ import Ġjavax . inject . Inject Ċ import Ġjavax . inject . Named Ċ Ċ class ĠNetwork Callback Proxy Factory Ġ@ Inject Ġconstructor (@ Named (" Network Callback Flags ") Ġprivate Ġval Ġflags : ĠInt ) Ġ{ ĊĠĠĠ Ġfun Ġget Network Callback Proxy (): ĠNetwork Callback Proxy Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( Build . VERSION . SDK _ INT Ġ<= ĠBuild . VERSION _ CODES . R ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĠAndroid R And Below Network Callback Proxy () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġreturn ĠAndroid S And Above Network Callback Proxy ( flags ) ĊĠĠĠ Ġ} Ċ }