package Ġcom . kick starter . services . firebase Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . firebase . job dispatcher .* Ċ Ċ fun Ġdispatch Job ( context : ĠContext , Ġservice Cl as : ĠClass < out ĠJob Service >, Ġjob Name : ĠString ) Ġ{ ĊĠĠĠ Ġval Ġdispatcher Ġ= ĠFirebase Job Dispatcher ( Google Play Driver ( context )) ĊĠĠĠ Ġval Ġjob Ġ= Ġdispatcher . new Job Builder () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Constraints ( Constraint . ON _ ANY _ NETWORK ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Service ( service Cl as ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. set Retry Strategy ( Retry Strategy . DEFAULT _ EXP ON ENTIAL ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. setTag ( job Name ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠ Ġdispatcher . must Schedule ( job ) Ċ } ĊĊ