提交 6d4de4d4 编写于 作者: 杜庆泉's avatar 杜庆泉

增加broadcast 示例

上级 e12715ff
...@@ -5,6 +5,6 @@ ...@@ -5,6 +5,6 @@
<application> <application>
<!--meta-data--> <!--meta-data-->
<meta-data android:name="TencentMapSDK" android:value="您申请的腾讯定位App Key" /> <meta-data android:name="TencentMapSDK" android:value="您申请的腾讯定位App Key" />
</application> </application>
</manifest> </manifest>
<script> <script>
export default { export default {
onLaunch: function() { onLaunch: function() {
console.log('App Launch') console.log('App Launch')
}, },
onShow: function() { onShow: function() {
......
{
"version": "1",
"prompt": "template",
"title": "服务协议和隐私政策",
"message": "  请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/>  你可阅读<a href=\"\">《服务协议》</a>和<a href=\"\">《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。",
"buttonAccept": "同意并接受",
"buttonRefuse": "暂不同意",
"hrefLoader": "system|default",
"second": {
"title": "确认提示",
"message": "  进入应用前,你需先同意<a href=\"\">《服务协议》</a>和<a href=\"\">《隐私政策》</a>,否则将退出应用。",
"buttonAccept": "同意并继续",
"buttonRefuse": "退出应用"
},
"styles": {
"backgroundColor": "#00FF00",
"borderRadius":"5px",
"title": {
"color": "#ff00ff"
},
"buttonAccept": {
"color": "#ffff00"
},
"buttonRefuse": {
"color": "#00ffff"
}
}
}
...@@ -3,12 +3,14 @@ ...@@ -3,12 +3,14 @@
<page-head :title="title"></page-head> <page-head :title="title"></page-head>
<view class="uni-btn-v uni-common-mt"> <view class="uni-btn-v uni-common-mt">
<button type="primary" @tap="testGetBatteryCapacity">获取电池电量</button> <button type="primary" @tap="testGetBatteryCapacity">获取电池电量</button>
<button type="primary" @tap="testGotoDemoActivity">跳转至新的原生页面</button>
</view> </view>
</view> </view>
</template> </template>
<script> <script>
import getBatteryInfo from "@/uni_modules/uni-getbatteryinfo"; import getBatteryInfo from "@/uni_modules/uni-getbatteryinfo";
import gotoDemoActivity from "@/uni_modules/uts-nativepage";
export default { export default {
data() { data() {
return { return {
...@@ -28,6 +30,10 @@ ...@@ -28,6 +30,10 @@
} }
}) })
}, },
testGotoDemoActivity() {
gotoDemoActivity();
},
} }
} }
......
import Rect from "android.graphics.Rect"; import Rect from "android.graphics.Rect";
import Color from "android.graphics.Color"; import Color from "android.graphics.Color";
import TextView from "android.widget.TextView"; import TextView from "android.widget.TextView";
......
{
"id": "uts-nativepage",
"displayName": "uts-nativepage",
"version": "1.0.0",
"description": "uts-nativepage",
"keywords": [
"uts-nativepage"
],
"repository": "",
"engines": {
"HBuilderX": "^3.6.0"
},
"dcloudext": {
"type": "uts",
"sale": {
"regular": {
"price": "0.00"
},
"sourcecode": {
"price": "0.00"
}
},
"contact": {
"qq": ""
},
"declaration": {
"ads": "",
"data": "",
"permissions": ""
},
"npmurl": ""
},
"uni_modules": {
"dependencies": [],
"encrypt": [],
"platforms": {
"cloud": {
"tcb": "u",
"aliyun": "u"
},
"client": {
"Vue": {
"vue2": "n",
"vue3": "y"
},
"App": {
"app-android": "u",
"app-ios": "u"
},
"H5-mobile": {
"Safari": "u",
"Android Browser": "u",
"微信浏览器(Android)": "u",
"QQ浏览器(Android)": "u"
},
"H5-pc": {
"Chrome": "u",
"IE": "u",
"Edge": "u",
"Firefox": "u",
"Safari": "u"
},
"小程序": {
"微信": "u",
"阿里": "u",
"百度": "u",
"字节跳动": "u",
"QQ": "u",
"钉钉": "u",
"快手": "u",
"飞书": "u",
"京东": "u"
},
"快应用": {
"华为": "u",
"联盟": "u"
}
}
}
}
}
\ No newline at end of file
# uts-nativepage
### 开发文档
[UTS 语法](https://uniapp.dcloud.net.cn/tutorial/syntax-uts.html)
[UTS 原生插件](https://uniapp.dcloud.net.cn/plugin/uts-plugin.html)
[Hello UTS](https://gitcode.net/dcloud/hello-uts/-/tree/dev)
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
package="io.dcloud.uni_modules.uts_nativepage">
<!--创建前台服务权限-->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application>
<service android:name="uts.sdk.modules.utsNativepage.ForeService" />
<activity android:name="uts.sdk.modules.utsNativepage.DemoActivity"></activity>
</application>
</manifest>
import Activity from 'android.app.Activity';
import BroadcastReceiver from 'android.content.BroadcastReceiver';
import Notification from 'android.app.Notification';
import Bundle from 'android.os.Bundle';
import R from 'io.dcloud.uni_modules.uts_nativepage.R';
import Intent from 'android.content.Intent';
import IntentFilter from 'android.content.IntentFilter';
import NotificationCompat from 'androidx.core.app.NotificationCompat';
import NotificationManager from 'android.app.NotificationManager';
import NotificationChannel from 'android.app.NotificationChannel';
import Context from 'android.content.Context';
import Button from 'android.widget.Button';
import OnClickListener from 'android.view.View.OnClickListener';
import View from 'android.view.View';
import Build from 'android.os.Build';
import IBinder from 'android.os.IBinder';
import Toast from 'android.widget.Toast';
import {
getUniActivity,
getAppContext
} from "io.dcloud.uts.android";
import Service from 'android.app.Service';
import System from 'java.lang.System';
class ForeService extends Service {
constructor (){
super();
}
override onCreate():void {
super.onCreate();
console.log("onCreate");
}
override onBind(intent?: Intent): IBinder|null{
return null;
}
override onStartCommand(intent:Intent ,flags:Int ,startId:Int ):Int {
let mBuilder = new NotificationCompat.Builder(this);
mBuilder.setAutoCancel(true) // 点击后让通知将消失
mBuilder.setContentText("测试")
mBuilder.setContentTitle("测试")
mBuilder.setWhen(System.currentTimeMillis()) //通知产生的时间,会在通知信息里显示
mBuilder.setPriority(Notification.PRIORITY_DEFAULT) //设置该通知优先级
mBuilder.setOngoing(false) //ture,设置他为一个正在进行的通知。他们通常是用来表示一个后台任务,用户积极参与(如播放音乐)或以某种方式正在等待,因此占用设备(如一个文件下载,同步操作,主动网络连接)
mBuilder.setDefaults(Notification.DEFAULT_ALL) //向通知添加声音、闪灯和振动效果的最简单、最一致的方式是使用当前的用户默认设置,使用defaults属性,可以组合:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
let manager =
getAppContext()!.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
let channelId = "channelId" + System.currentTimeMillis()
let channel = new NotificationChannel(
channelId,
"appName",
NotificationManager.IMPORTANCE_HIGH
)
manager.createNotificationChannel(channel)
mBuilder.setChannelId(channelId)
}
mBuilder.setContentIntent(null)
this.startForeground(222, mBuilder.build())
return super.onStartCommand(intent, flags, startId);
}
override onDestroy():void {
super.onDestroy();
this.stopForeground(true);// 停止前台服务--参数:表示是否移除之前的通知
}
}
class ScreenReceiver extends BroadcastReceiver() {
override onReceive(context: Context, intent: Intent):void {
if (Intent.ACTION_SCREEN_OFF == intent.action) {
console.log("==屏幕休眠了")
}
if (Intent.ACTION_SCREEN_ON == intent.action) {
console.log("==屏幕唤醒了")
}
}
}
class StartServiceListener extends OnClickListener{
override onClick(v?: View):void{
var intent = Intent(getUniActivity(), ForeService().javaClass);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
getAppContext()!.startForegroundService(intent);
}
else{
getAppContext()!.startService(intent);
}
}
}
class StartBroadcastListener extends OnClickListener{
override onClick(v?: View):void{
let myReceiver = new ScreenReceiver();
let filter = new IntentFilter();
filter.addAction(Intent.ACTION_SCREEN_OFF);
filter.addAction(Intent.ACTION_SCREEN_ON);
getUniActivity()!.registerReceiver(myReceiver, filter);
// 提示屏幕状态监听已经注册
Toast.makeText(getAppContext(),"屏幕状态监听已注册,注意观察控制台日志",Toast.LENGTH_LONG).show();
}
}
class DemoActivity extends Activity(){
override onCreate(savedInstanceState?: Bundle):void {
super.onCreate(savedInstanceState)
setContentView(R.layout.demo_activity);
let btn_start_service_front = findViewById<Button>(R.id.btn_start_service_front);
btn_start_service_front.setOnClickListener(new StartServiceListener());
let btn_start_screen_listen = findViewById<Button>(R.id.btn_start_screen_listen);
btn_start_screen_listen.setOnClickListener(new StartBroadcastListener());
}
}
export default function gotoDemoActivity() {
// 跳转到一个新的界面
let intent = new Intent(getUniActivity(),DemoActivity().javaClass);
getUniActivity()!.startActivity(intent);
// var a = new DemoActivity();
return { name: "gotoDemoActivity"};
}
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="demo text"/>
<Button android:layout_width="match_parent" android:layout_height="wrap_content" android:text="开启前台服务(应用包活)" android:id="@+id/btn_start_service_front"/>
<Button android:layout_width="match_parent" android:layout_height="wrap_content" android:text="注册网络状态广播监听" android:id="@+id/btn_start_screen_listen"/>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="dcloud_ad_error_message_5001">adpid不能为空</string>
<string name="dcloud_ad_error_message_5009">当前广告正在请求中,请勿重复点击</string>
<string name="dcloud_ad_error_message_5002">无效的广告位标识adpid,请使用正确的adpid。当前广告位为:</string>
<string name="dcloud_ad_error_message_5003">未开通广告,请在广告平台申请并确保已审核通过</string>
<string name="dcloud_ad_error_message_5004">无广告模块,打包时请配置要使用的广告模块</string>
<string name="dcloud_ad_error_message_5005">广告加载失败,请稍后重试</string>
<string name="dcloud_ad_error_message_5006">广告没有加载成功就show了</string>
<string name="dcloud_ad_error_message_5007">无法获取广告配置数据,请稍后重试</string>
<string name="dcloud_ad_notification_pause_download">暂停下载</string>
<string name="dcloud_ad_notification_delete_download">删除下载</string>
<string name="dcloud_ad_tag_ads">广告</string>
</resources>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="dcloud_ad_error_message_5001">"adpid" is null</string>
<string name="dcloud_ad_error_message_5009">Ad is requesting</string>
<string name="dcloud_ad_error_message_5002">Invalid "adpid",current:</string>
<string name="dcloud_ad_error_message_5003">No ads in the current slot,please ensure that the current ad slot is approved</string>
<string name="dcloud_ad_error_message_5004">No ads module,please configure the corresponding module when packaging</string>
<string name="dcloud_ad_error_message_5005">Ad loading failed,please try again later</string>
<string name="dcloud_ad_error_message_5006">Call "load" before calling "show"</string>
<string name="dcloud_ad_error_message_5007">Unable to get ad data, please try again later</string>
<string name="dcloud_ad_notification_pause_download">Pause</string>
<string name="dcloud_ad_notification_delete_download">Delete</string>
<string name="dcloud_ad_tag_ads">Ads</string>
</resources>
\ No newline at end of file
{
"id": "uts-screenshot-listener",
"displayName": "uts-screenshot-listener",
"version": "1.0.0",
"description": "uts-screenshot-listener",
"keywords": [
"uts-screenshot-listener"
],
"repository": "",
"engines": {
"HBuilderX": "^3.6.0"
},
"dcloudext": {
"type": "uts",
"sale": {
"regular": {
"price": "0.00"
},
"sourcecode": {
"price": "0.00"
}
},
"contact": {
"qq": ""
},
"declaration": {
"ads": "",
"data": "",
"permissions": ""
},
"npmurl": ""
},
"uni_modules": {
"dependencies": [],
"encrypt": [],
"platforms": {
"cloud": {
"tcb": "u",
"aliyun": "u"
},
"client": {
"Vue": {
"vue2": "n",
"vue3": "y"
},
"App": {
"app-android": "u",
"app-ios": "u"
},
"H5-mobile": {
"Safari": "u",
"Android Browser": "u",
"微信浏览器(Android)": "u",
"QQ浏览器(Android)": "u"
},
"H5-pc": {
"Chrome": "u",
"IE": "u",
"Edge": "u",
"Firefox": "u",
"Safari": "u"
},
"小程序": {
"微信": "u",
"阿里": "u",
"百度": "u",
"字节跳动": "u",
"QQ": "u",
"钉钉": "u",
"快手": "u",
"飞书": "u",
"京东": "u"
},
"快应用": {
"华为": "u",
"联盟": "u"
}
}
}
}
}
\ No newline at end of file
# uts-screenshot-listener
### 开发文档
[UTS 语法](https://uniapp.dcloud.net.cn/tutorial/syntax-uts.html)
[UTS 原生插件](https://uniapp.dcloud.net.cn/plugin/uts-plugin.html)
[Hello UTS](https://gitcode.net/dcloud/hello-uts/-/tree/dev)
\ No newline at end of file
class ScreenShotHelper {
companion object {
const val TAG = "ScreenShotLog"
/**
* 读取媒体数据库时需要读取的列
*/
val MEDIA_PROJECTIONS = arrayOf(
MediaStore.Images.ImageColumns.DATA,
MediaStore.Images.ImageColumns.DATE_TAKEN
)
/**
* 读取媒体数据库时需要读取的列,其中 width、height 字段在 API 16 之后才有
*/
val MEDIA_PROJECTIONS_API_16 = arrayOf(
MediaStore.Images.ImageColumns.DATA,
MediaStore.Images.ImageColumns.DATE_TAKEN,
MediaStore.Images.ImageColumns.WIDTH,
MediaStore.Images.ImageColumns.HEIGHT
)
/**
* 截屏路径判断的关键字
*/
val KEYWORDS = arrayOf(
"screenshot", "screen_shot", "screen-shot", "screen shot",
"screencapture", "screen_capture", "screen-capture", "screen capture",
"screencap", "screen_cap", "screen-cap", "screen cap"
)
fun showLog(msg: String) {
Log.d(TAG, msg)
}
}
}
/**
* @author Alex.yelj
* 2020-01-15 17:28 Wednesday
* Description: 截屏监听
*/
class ScreenShotListener constructor(context: Context?) {
private var mContext: Context
private var mScreenRealSize: Point? = null
private val mHasCallbackPaths: ArrayList<String> = ArrayList()
private var mListener: OnScreenShotListener? = null
private var mStartListenTime: Long = 0
/**
* 内部存储器内容观察者
*/
private var mInternalObserver: MediaContentObserver? = null
/**
* 外部存储器内容观察者
*/
private var mExternalObserver: MediaContentObserver? = null
/**
* 运行在 UI 线程的 Handler, 用于运行监听器回调
*/
private var mUiHandler = Handler(Looper.getMainLooper())
init {
ScreenShotHelper.showLog("init")
assertInMainThread()
requireNotNull(context) { "The context must not be null." }
mContext = context
if (mScreenRealSize == null) {
mScreenRealSize = getRealScreenSize()
if (mScreenRealSize != null) {
ScreenShotHelper.showLog("Screen Real Size: " + mScreenRealSize!!.x + " * " + mScreenRealSize!!.y)
} else {
ScreenShotHelper.showLog("Get screen real size failed.")
}
}
}
/**
* 单例
*/
companion object : SingletonHolder<ScreenShotListener, Context>(::ScreenShotListener)
/**
* 开启监听
*/
fun startListener() {
assertInMainThread()
// 记录开始监听的时间戳
mStartListenTime = System.currentTimeMillis()
// 创建内容观察者
mInternalObserver =
MediaContentObserver(MediaStore.Images.Media.INTERNAL_CONTENT_URI, mUiHandler)
mExternalObserver =
MediaContentObserver(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, mUiHandler)
// 注册内容观察者
mContext.contentResolver.registerContentObserver(
MediaStore.Images.Media.INTERNAL_CONTENT_URI,
false,
mInternalObserver
)
mContext.contentResolver.registerContentObserver(
MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
false,
mExternalObserver
)
}
fun stopListener() {
assertInMainThread()
// 注销内容观察者
if (mInternalObserver != null) {
try {
mContext.contentResolver.unregisterContentObserver(mInternalObserver!!)
} catch (e: Exception) {
e.printStackTrace()
}
mInternalObserver = null
}
if (mExternalObserver != null) {
try {
mContext.contentResolver.unregisterContentObserver(mExternalObserver!!)
} catch (e: Exception) {
e.printStackTrace()
}
mExternalObserver = null
}
// 清空数据
mStartListenTime = 0
mListener = null
}
/**
* 处理媒体数据库的内容改变
*/
fun handleMediaContentChange(contentUri: Uri) {
var cursor: Cursor? = null
try {
cursor = mContext.contentResolver.query(
contentUri,
if (Build.VERSION.SDK_INT < 16) ScreenShotHelper.MEDIA_PROJECTIONS else ScreenShotHelper.MEDIA_PROJECTIONS_API_16,
null, null,
"${MediaStore.Images.ImageColumns.DATE_ADDED} desc limit 1"
)
if (cursor == null) {
ScreenShotHelper.showLog("Deviant logic.")
return
}
if (!cursor.moveToFirst()) {
ScreenShotHelper.showLog("Cursor no data.")
return
}
// 获取各列的索引
val dataIndex = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATA)
val dateTakenIndex = cursor.getColumnIndex(MediaStore.Images.ImageColumns.DATE_TAKEN)
var widthIndex = -1
var heightIndex = -1
if (Build.VERSION.SDK_INT >= 16) {
widthIndex = cursor.getColumnIndex(MediaStore.Images.ImageColumns.WIDTH)
heightIndex = cursor.getColumnIndex(MediaStore.Images.ImageColumns.HEIGHT)
}
// 获取行数据
val data = cursor.getString(dataIndex)
val dateTaken = cursor.getLong(dateTakenIndex)
var width = 0
var height = 0
if (widthIndex >= 0 && heightIndex >= 0) {
width = cursor.getInt(widthIndex)
height = cursor.getInt(heightIndex)
} else {
val size = getImageSize(data)
width = size.x
height = size.y
}
// 处理获取到的第一行数据
handleMediaRowData(data, dateTaken, width, height)
} catch (e: Exception) {
ScreenShotHelper.showLog("Exception: ${e.message}")
e.printStackTrace()
} finally {
if (cursor != null && !cursor.isClosed) {
cursor.close()
}
}
}
private fun getImageSize(imagePath: String): Point {
val options = BitmapFactory.Options()
options.inJustDecodeBounds = true
BitmapFactory.decodeFile(imagePath, options)
return Point(options.outWidth, options.outHeight)
}
/**
* 处理获取到的一行数据
*/
private fun handleMediaRowData(data: String, dateTaken: Long, width: Int, height: Int) {
if (checkScreenShot(data, dateTaken, width, height)) {
ScreenShotHelper.showLog("ScreenShot: path = $data; size = $width * $height; date = $dateTaken")
if (mListener != null && !checkCallback(data)) {
mListener!!.onScreenShot(data)
}
} else {
// 如果在观察区间媒体数据库有数据改变,又不符合截屏规则,则输出到 log 待分析
ScreenShotHelper.showLog("Media content changed, but not screenshot: path = $data; size = $width * $height; date = $dateTaken")
}
}
/**
* 判断指定的数据行是否符合截屏条件
*/
private fun checkScreenShot(data: String?, dateTaken: Long, width: Int, height: Int): Boolean {
// 判断依据一: 时间判断
// 如果加入数据库的时间在开始监听之前, 或者与当前时间相差大于10秒, 则认为当前没有截屏
if (dateTaken < mStartListenTime || System.currentTimeMillis() - dateTaken > 10 * 1000) {
return false
}
// 判断依据二: 尺寸判断
if (mScreenRealSize != null) {
// 如果图片尺寸超出屏幕, 则认为当前没有截屏
if (!(width <= mScreenRealSize!!.x && height <= mScreenRealSize!!.y)
|| (height <= mScreenRealSize!!.x && width <= mScreenRealSize!!.y)
) {
return false
}
}
// 判断依据三: 路径判断
if (data.isNullOrEmpty()) {
return false
}
val lowerData = data.toLowerCase(Locale.getDefault())
// 判断图片路径是否含有指定的关键字之一, 如果有, 则认为当前截屏了
for (keyWork in ScreenShotHelper.KEYWORDS) {
if (lowerData.contains(keyWork)) {
return true
}
}
return false
}
/**
* 判断是否已回调过, 某些手机ROM截屏一次会发出多次内容改变的通知; <br></br>
* 删除一个图片也会发通知, 同时防止删除图片时误将上一张符合截屏规则的图片当做是当前截屏.
*/
private fun checkCallback(imagePath: String): Boolean {
if (mHasCallbackPaths.contains(imagePath)) {
ScreenShotHelper.showLog("ScreenShot: imgPath has done; imagePath = $imagePath")
return true
}
// 大概缓存15~20条记录便可
if (mHasCallbackPaths.size >= 20) {
for (i in 0..4) {
mHasCallbackPaths.removeAt(0)
}
}
mHasCallbackPaths.add(imagePath)
return false
}
/**
* 获取屏幕分辨率
*/
private fun getRealScreenSize(): Point? {
var screenSize: Point? = null
try {
screenSize = Point()
val windowManager = mContext.getSystemService(Context.WINDOW_SERVICE) as WindowManager
val defaultDisplay = windowManager.defaultDisplay
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
defaultDisplay.getRealSize(screenSize)
} else {
try {
val mGetRawW = Display::class.java.getMethod("getRawWidth")
val mGetRawH = Display::class.java.getMethod("getRawHeight")
screenSize.set(
mGetRawW.invoke(defaultDisplay) as Int,
mGetRawH.invoke(defaultDisplay) as Int
)
} catch (e: Exception) {
screenSize.set(defaultDisplay.width, defaultDisplay.height)
e.printStackTrace()
}
}
} catch (e: Exception) {
e.printStackTrace()
}
return screenSize
}
private fun assertInMainThread() {
if (Looper.myLooper() != Looper.getMainLooper()) {
val stackTrace = Thread.currentThread().stackTrace
var methodMsg: String? = null
if (stackTrace != null && stackTrace.size >= 4) {
methodMsg = stackTrace[3].toString()
}
ScreenShotHelper.showLog("Call the method must be in main thread: $methodMsg")
}
}
/**
* 媒体内容观察者
*/
private inner class MediaContentObserver(var contentUri: Uri, handler: Handler) :
ContentObserver(handler) {
override fun onChange(selfChange: Boolean) {
super.onChange(selfChange)
handleMediaContentChange(contentUri)
}
}
/**
* 设置截屏监听器回调
*/
fun setListener(listener: OnScreenShotListener) {
this.mListener = listener
}
/**
* 截屏监听接口
*/
interface OnScreenShotListener {
fun onScreenShot(picPath: String)
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册