-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from webex/Release/3.12.0
Release 3.12.0
- Loading branch information
Showing
30 changed files
with
384 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
app/src/full/java/com/ciscowebex/androidsdk/kitchensink/annotation/AnnotationRenderer.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package com.ciscowebex.androidsdk.kitchensink.annotation | ||
|
||
import android.content.Context | ||
import android.widget.FrameLayout | ||
import com.ciscowebex.androidsdk.annotation.renderer.LiveAnnotationRenderer | ||
|
||
class AnnotationRenderer(requireContext: Context) { | ||
private val renderer = LiveAnnotationRenderer(requireContext) | ||
|
||
interface AnnotationRendererCallback: LiveAnnotationRenderer.LiveAnnotationRendererCallback{ | ||
} | ||
|
||
fun startRendering(): Boolean { | ||
return renderer.startRendering() | ||
} | ||
|
||
fun stopRendering() { | ||
renderer.stopRendering() | ||
} | ||
|
||
fun renderData(data: String) { | ||
renderer.renderData(data) | ||
} | ||
|
||
fun getAnnotationLayer(): FrameLayout? { | ||
return renderer.getAnnotationLayer() | ||
} | ||
|
||
fun setAnnotationRendererCallback(callback: AnnotationRendererCallback) { | ||
renderer.setAnnotationRendererCallback(callback) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<resources> | ||
<string name="app_name">Kitchen Sink</string> | ||
<string name="kitchen_sink">Kitchen Sink</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.