Skip to content

connect-sdk / de.proglove.sdk.scanner / IScannerManager / connect

connect

abstract fun ~~connect~~(context:Context, debug:Boolean= false):Boolean Deprecated: Calling this has the same effect as calling ensureConnectionToService

Connect to the ProGlove Connect SDK Service Triggers a Service Binding via (AIDL) IPC to the ProGlove Connect App.

Parameters

context - An instance of the Android Context

debug - if set to true (default is false) the connection will be made to the MockMarkApp, not the actual ProGlove Connect App. This is useful for testing.

Return true if the Service Binding was started. false means the ProGlove Connect service was not found. Probably because the ProGlove Connect App is not installed.