/* Ċ Ġ* ĠThis Ġfile Ġis Ġpart Ġof Ġthe ĠSc and it ĠData ĠCapture ĠSDK Ċ Ġ* Ċ Ġ* ĠCopyright Ġ( C ) Ġ 2 0 2 1 - ĠSc and it ĠAG . ĠAll Ġrights Ġreserved . Ċ Ġ*/ Ċ Ċ package Ġcom . sc and it . datac apt ure . flutter . text Ċ Ċ import Ġandroidx . annotation . NonNull Ċ import Ġcom . sc and it . datac apt ure . flutter . core . utils . EventHandler Ċ import Ġcom . sc and it . datac apt ure . flutter . text . listeners . Sc and it Flutter Text Capture Listener Ċ import Ġio . flutter . embedding . engine . plugins . Flutter Plugin Ċ import Ġio . flutter . plugin . common . Binary Messenger Ċ import Ġio . flutter . plugin . common . Event Channel Ċ import Ġio . flutter . plugin . common . MethodCall Ċ import Ġio . flutter . plugin . common . Method Channel . MethodCall Handler Ċ import Ġio . flutter . plugin . common . Method Channel . Result Ċ import Ġjava . util . concurrent . locks . Re entrant Lock Ċ import Ġkotlin . concurrent . with Lock Ċ Ċ /** ĠSc and it Flutter Datac apt ure Text Plugin Ġ*/ Ċ class ĠSc and it Flutter Datac apt ure Text Proxy Plugin Ġ: ĠFlutter Plugin , ĠMethod Call Handler Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Jvm Static ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġlock Ġ= ĠRe entrant Lock () ĊĊĠĠĠĠĠĠĠ Ġ@ Jvm Static ĊĠĠĠĠĠĠĠ Ġprivate Ġvar Ġis Plugin Attached Ġ= Ġfalse ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġvar Ġsc and it Flutter Data Capture Text Handler : ĊĠĠĠĠĠĠĠ ĠSc and it Flutter Data Capture Text Handler ? Ġ= Ġnull ĊĊĠĠĠ Ġoverride Ġfun Ġon Attached To Engine ( ĊĠĠĠĠĠĠĠ Ġ@ NonNull Ġflutter Plugin Binding : ĠFlutter Plugin . Flutter Plugin Binding ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ Ġlock . with Lock Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġif Ġ( is Plugin Attached ) Ġreturn ĊĊĠĠĠĠĠĠĠĠĠĠĠ Ġsc and it Flutter Data Capture Text Handler Ġ= ĠSc and it Flutter Data Capture Text Handler ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġprovide Sc and it Flutter Text Capture Listener ( flutter Plugin Binding . binary Messenger ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsc and it Flutter Data Capture Text Handler ?. on Attached To Engine ( flutter Plugin Binding ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis Plugin Attached Ġ= Ġtrue ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon MethodCall (@ NonNull Ġcall : ĠMethod Call , Ġ@ NonNull Ġresult : ĠResult ) Ġ{ ĊĠĠĠĠĠĠĠ Ġresult . not Implemented () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Detached From Engine (@ NonNull Ġbinding : ĠFlutter Plugin . Flutter Plugin Binding ) Ġ{ ĊĠĠĠĠĠĠĠ Ġlock . with Lock Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsc and it Flutter Data Capture Text Handler ?. on Detached From Engine ( binding ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġsc and it Flutter Data Capture Text Handler Ġ= Ġnull ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis Plugin Attached Ġ= Ġfalse ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġprovide Sc and it Flutter Text Capture Listener ( binary Messenger : ĠBinary Messenger ) Ġ= ĊĠĠĠĠĠĠĠ ĠSc and it Flutter Text Capture Listener ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠEventHandler ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠEvent Channel ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġbinary Messenger , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠSc and it Flutter Text Capture Listener . CHANNEL _ NAME ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ) Ċ } Ċ