-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
Hello,
I'm trying to use the library to take a screenshot but there is issue with the code here
Instacapture.capture(this, object : SimpleScreenCapturingListener() {
override fun onCaptureComplete(bitmap: Bitmap) {
//Your code here..
}
})
// or in Rx way
Instacapture.captureRx(this).subscribe { bitmap ->
//Your code here..
}
it says "expected member declaration " in these two lines ( Instacapture.captureRx(this).subscribe ) and ( Instacapture.capture(this, object : SimpleScreenCapturingListener() {
)
and for (bitmap )it says unresolved reference
Metadata
Metadata
Assignees
Labels
No labels