package Ġcom . react native background upload . video Compressor Ċ Ċ import Ġandroidx . annotation . MainThread Ċ import Ġandroidx . annotation . Worker Thread Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠA bed El az iz ĠShe h ade h Ġon Ġ 2 7 ĠJan , Ġ 2 0 2 0 Ċ Ġ* Ġel az iz . she h ade h @ gmail . com Ċ Ġ*/ Ċ interface ĠCompression Listener Ġ{ ĊĠĠĠ Ġ@ Worker Thread ĊĠĠĠ Ġfun ĠonStart () ĊĊĠĠĠ Ġ@ Worker Thread ĊĠĠĠ Ġfun ĠonSuccess () ĊĊĠĠĠ Ġ@ Worker Thread ĊĠĠĠ Ġfun Ġon Failure ( failure Message : ĠString ) ĊĊĠĠĠ Ġ@ Worker Thread ĊĠĠĠ Ġfun Ġon Progress ( percent : ĠFloat ) ĊĊĠĠĠ Ġ@ Worker Thread ĊĠĠĠ Ġfun Ġon Cancelled () Ċ } Ċ Ċ interface ĠCompression Progress Listener Ġ{ ĊĠĠĠ Ġfun Ġon Progress Changed ( percent : ĠFloat ) ĊĠĠĠ Ġfun Ġon Progress Cancelled () Ċ } Ċ