package Ġcom . why . bluetooth touch pad 2 . bluetooth Ċ Ċ import Ġandroid . bluetooth . Bluetooth Adapter Ċ import Ġandroid . bluetooth . Bluetooth Device Ċ Ċ fun ĠBluetooth Adapter . set Scan Mode ( mode : ĠInt , Ġduration : ĠInt ): ĠBoolean Ġ= ĊĠĠĠ Ġthis :: class . java . getMethod (" set Scan Mode ", ĠInt :: class . java , ĠInt :: class . java ). invoke ( this , Ġmode , Ġduration ) Ġas ĠBoolean Ċ Ċ fun ĠBluetooth Device . cancel Bond Process (): ĠBoolean Ġ= ĊĠĠĠ Ġthis :: class . java . getMethod (" cancel Bond Process "). invoke ( this ) Ġas ĠBoolean Ċ Ċ fun ĠBluetooth Device . remove Bond (): ĠBoolean Ġ= ĊĠĠĠ Ġthis :: class . java . getMethod (" remove Bond "). invoke ( this ) Ġas ĠBoolean