- 中文网(自研/维护)拓展 拓展.aix下载
中文网(自研/维护)拓展 拓展.aix下载
目录:
- AI2Utils
- AirPlaneState:设备的飞行模式状态
- AliSms:阿里云短信平台接入,短信验证码
- ClientSocketAI2Ext
- Clipboard:实现剪贴板的复制粘贴功能
- ECharts:2D图表拓展
- ECharts3D:3D图表拓展
- FlashLight:手电筒功能
- MyListView:自定义列表展示
- MyListViewElement:自定义列表展示项
- NetworkState:网络状态
- NotificationStyle:个性化通知栏样式
- PhoneInfo:获取手机等设备软硬件、版本等相关信息
- SQLite:超流行兼容主流SQL语法的迷你本地数据库引擎
- Screenshot:手机截屏功能
- Shortcut:桌面创建快捷方式
- Sidebar:个性化侧边栏拓展
- StatusBarTools:个性化状态栏拓展
AI2Utils
Component for AI2Utils
属性
None
事件
None
方法
- FindContactsByName(name,fuzzyMatch)
- 通过姓名查找通讯录,返回 (联系人,手机号) 的列表。fuzzyMatch:是否模糊匹配
- FindContactsByNumber(number,fuzzyMatch)
- 通过手机号查找通讯录,返回 (联系人,手机号) 的列表。fuzzyMatch:是否模糊匹配
- GoHome()
- 返回手机桌面。
- IsFirstRun()
- 判断App是否是第一次运行,如果是则返回’真’,否则返回’假’。
- ResetFirstRun()
- 重置App的运行状态为第一次运行。
- SystemSettings()
- 跳转到系统设置界面
- WirelessSettings()
- 跳转到无线和网络设置界面
AirPlaneState
Component for AirPlaneState
属性
None
事件
- AirPlaneState(state)
- 反馈飞行模式状态,参数值为:开启、关闭
方法
- GetAirPlaneState()
- 获取飞行模式状态,返回值为:开启、关闭
AliSms
阿里云短信平台接入,短信验证码。详细用法及步骤请参考这里。
属性
- AccessKeyId
- AccessKey ID
- AccessKeySecret
- AccessKey Secret
事件
None
方法
- RandomNumCode(length)
- 返回一个指定位数随机数字码。
- SendSms(phoneNumber,signName,templateCode,templateParam)
- 发送短信。参数:手机号,签名名称,模板CODE,模板参数JSON
ClientSocketAI2Ext
Simple Client Socket
属性
- ConnectionState
- Method that returns the connection state
- HexaStringMode
- Method to specify the mode (string or hexastring)
- SeqNewLine
- Method that returns a string containing “\n” sequence
- SeqNewLineAndRet
- Method that returns a string containing “\n\r” sequence
- SeqRet
- Method that returns a string containing “\r” sequence
- SeqRetAndNewLine
- Method that returns a string containing “\r\n” sequence
- ServerAddress
- Method to specify the server’s address
- ServerPort
- Method to specify the server’s port
事件
- DataReceived(data)
- Event indicating that a message has been received
- RemoteConnectionClosed()
- Event indicating that the remote socket closed the connection
方法
- Connect()
- Creates the socket, connect to the server and launches the thread to receive data from server
- Disconnect()
- Close the socket
- SendBinaryData(listBytes)
- 参考原版BLE源码中的字节列表参数
- SendData(data)
- Send data through the socket to the server
Clipboard
实现剪贴板的复制粘贴功能。详细用法及步骤请参考这里。
可跨屏幕共享剪贴板数据,可作为屏幕间数据传输的一种备选方式。
属性
- SuppressToast
- 默认操作成功后显示提示信息,SuppressToast设置为
假
后,则不显示提示信息。
事件
None
方法
- Copy(text)
- 拷贝文本到剪贴板。
- Paste()
- 从剪贴板粘贴内容并返回文本。
ECharts
Component for ECharts
属性
- ShowAnimation
- 动画是否开启。
- ShowValue
- 是否显示数字提示。
- ThemeIndex
- 主题设置,数字:1 default, 2 dark, 3 macarons, 4 roma, 5 shine, 6 vintage, 7 infographic
- YAxisMin
- Y轴最小值:一个数字,或 ‘dataMin’ 或 ‘null’
事件
- Clicked(legend,label,value)
- Event for Clicked
- ImageSaved(imagePath)
- Event for ImageSaved
方法
- Bar(title,legends,labels,datas)
- 画柱状图。title:标题,文本; legends: 图例,列表; labels: 标签,列表; datas: 数据,二维列表。
- Gauge(startAngle,endAngle,min,max,value)
- 画仪表图。startAngle:起始角度; endAngle:结束角度; min:最小值; max:最大值; value:当前值。
- Init(layout)
- 图表拓展初始化。参数是布局对象,指示图表显示的位置。
- Line(title,legends,labels,datas,smooth)
- 画折线图。title:标题,文本; legends: 图例,列表; labels: 标签,列表; datas: 数据,二维列表;smooth:是否平滑。
- Pie(title,radius,data)
- 画饼图。title:标题,文本; radius:半径,列表,如[‘33%’,’60%’]-空心饼图,[‘60%’]-实心饼图; data:{value,name}字典列表,例如 [ { value: 484, name: ‘项目1’ },{ value: 300, name: ‘项目2’ } ]
- SaveImage(imageName)
- 将图表作为图像保存到 ASD 目录。
ECharts3D
Component for ECharts3D
属性
- ShowAnimation
- 动画是否开启。
- ShowValue
- 是否显示数字提示。
- ThemeIndex
- 主题设置,数字:1 default, 2 dark, 3 macarons, 4 roma, 5 shine, 6 vintage, 7 infographic
- YAxisMin
- Y轴最小值:一个数字,或 ‘dataMin’ 或 ‘null’
事件
- Clicked(legend,label,value)
- Event for Clicked
- ImageSaved(imagePath)
- Event for ImageSaved
方法
- Init(layout)
- layout: where the chart to be shown
- SaveImage(imageName)
- 将图表作为图像保存到 ASD 目录。
- SimpleSurface(title,data)
- 根据数据点画3D曲面·简单曲面。第一个参数:标题。第二个参数:[x,y,z]三元素列表的列表,例如 [ [-5, -5, 0.5], [-4, -5, 0.6], … ]
- SimpleSurfaceWithEquation(title,equationJsonStr)
- 根据坐标方程式画3D曲面·简单曲面。第一个参数:标题。第二个参数:坐标方程式JSON字符串,详见帮助文档。
FlashLight
Component for FlashLight
属性
None
事件
None
方法
- Off()
- 关闭手电筒
- On()
- 打开手电筒
MyListView
Component for MyListView
属性
- AsyncImageLoad
- Property for AsyncImageLoad
- CacheImage
- Property for CacheImage
- ElementHeight
- Property for ElementHeight
- ExtraButtonBgColor
- Property for ExtraButtonBgColor
- ExtraButtonEnabled
- Property for ExtraButtonEnabled
- ExtraButtonHeight
- Property for ExtraButtonHeight
- ExtraButtonImage
- Property for ExtraButtonImage
- ExtraButtonPaddings
- Property for ExtraButtonPaddings
- ExtraButtonShape
- Property for ExtraButtonShape
- ExtraButtonText
- Property for ExtraButtonText
- ExtraButtonTextFontBold
- Property for ExtraButtonTextFontBold
- ExtraButtonTextFontSize
- Property for ExtraButtonTextFontSize
- ExtraButtonWidth
- Property for ExtraButtonWidth
- IconBgColor
- Property for IconBgColor
- IconHeight
- Property for IconHeight
- IconMultiParams
- Property for IconMultiParams
- IconPaddings
- Property for IconPaddings
- IconShape
- Property for IconShape
- IconTextColor
- Property for IconTextColor
- IconTextFontBold
- Property for IconTextFontBold
- IconTextFontSize
- Property for IconTextFontSize
- IconWidth
- Property for IconWidth
- LastClickedElement
- Property for LastClickedElement
- LastClickedExtraButton
- Property for LastClickedExtraButton
- LastClickedIcon
- Property for LastClickedIcon
- LastLongClickedElement
- Property for LastLongClickedElement
- ScrollBottomAfterAdd
- Property for ScrollBottomAfterAdd
- SubTextColor
- Property for SubTextColor
- SubTextFontBold
- Property for SubTextFontBold
- SubTextFontSize
- Property for SubTextFontSize
- SubTextHeight
- Property for SubTextHeight
- TextColor
- Property for TextColor
- TextFontBold
- Property for TextFontBold
- TextFontSize
- Property for TextFontSize
- TextHeight
- Property for TextHeight
- TouchDownColor
- Property for TouchDownColor
- UnderlineColor
- Property for UnderlineColor
- UnderlineWidth
- Property for UnderlineWidth
- WidthAfterIcon
- Property for WidthAfterIcon
- WidthBeforeExtraButton
- Property for WidthBeforeExtraButton
- WidthBeforeIcon
- Property for WidthBeforeIcon
事件
- ElementClick(elementIndex)
- Event for ElementClick
- ElementLongClick(elementIndex)
- Event for ElementLongClick
- ElementTouchDown(elementIndex)
- Event for ElementTouchDown
- ElementTouchUp(elementIndex)
- Event for ElementTouchUp
- ExtraButtonClick(elementIndex)
- Event for ExtraButtonClick
- ExtraButtonLongClick(elementIndex)
- Event for ExtraButtonLongClick
- ExtraButtonTouchDown(elementIndex)
- Event for ExtraButtonTouchDown
- ExtraButtonTouchUp(elementIndex)
- Event for ExtraButtonTouchUp
- IconClick(elementIndex)
- Event for IconClick
- IconLongClick(elementIndex)
- Event for IconLongClick
- IconTouchDown(elementIndex)
- Event for IconTouchDown
- IconTouchUp(elementIndex)
- Event for IconTouchUp
方法
- AddElement(element)
- Method for AddElement
- AddEmptyElement()
- Method for AddEmptyElement
- Clear()
- Method for Clear
- ClearAllCache()
- Method for ClearAllCache
- ClearCache(path)
- Method for ClearCache
- Get()
- Method for Get
- GetElement(elementIndex)
- Method for GetElement
- Initialize(verticalArrangement)
- Method for Initialize
- Initialize_Scroll(verticalScrollArrangement)
- Method for Initialize_Scroll
- RemoveElement(elementIndex)
- Method for RemoveElement
- Set(list)
- Method for Set
- SetElement(elementIndex,element)
- Method for SetElement
- SetElementIcon(elementIndex,path)
- Method for SetElementIcon
- SetElementMainText(elementIndex,mainText)
- Method for SetElementMainText
- SetElementSubText(elementIndex,subText)
- Method for SetElementSubText
- SetElementText(elementIndex,text)
- Method for SetElementText
MyListViewElement
Component for MyListViewElement
属性
- ElementBackgroundColor
- Property for ElementBackgroundColor
- ElementHeight
- Property for ElementHeight
- ElementValue
- Property for ElementValue
- ExtraButtonBackgroundColor
- Property for ExtraButtonBackgroundColor
- ExtraButtonHeight
- Property for ExtraButtonHeight
- ExtraButtonImage
- Property for ExtraButtonImage
- ExtraButtonShape
- Property for ExtraButtonShape
- ExtraButtonText
- Property for ExtraButtonText
- ExtraButtonTextFontBold
- Property for ExtraButtonTextFontBold
- ExtraButtonTextFontSize
- Property for ExtraButtonTextFontSize
- ExtraButtonWidth
- Property for ExtraButtonWidth
- IconBackgroundColor
- Property for IconBackgroundColor
- IconHeight
- Property for IconHeight
- IconImage
- Property for IconImage
- IconShape
- Property for IconShape
- IconTextColor
- Property for IconTextColor
- IconTextFontBold
- Property for IconTextFontBold
- IconTextFontSize
- Property for IconTextFontSize
- IconWidth
- Property for IconWidth
- Size
- Property for Size
- SubText
- Property for SubText
- SubTextColor
- Property for SubTextColor
- SubTextFontBold
- Property for SubTextFontBold
- SubTextFontSize
- Property for SubTextFontSize
- SubTextHeight
- Property for SubTextHeight
- Text
- Property for Text
- TextColor
- Property for TextColor
- TextFontBold
- Property for TextFontBold
- TextFontSize
- Property for TextFontSize
- TextHeight
- Property for TextHeight
- UnderlineColor
- Property for UnderlineColor
- UnderlineWidth
- Property for UnderlineWidth
- UseGlobalProperties
- Property for UseGlobalProperties
- WidthAfterIcon
- Property for WidthAfterIcon
- WidthBeforeExtraButton
- Property for WidthBeforeExtraButton
- WidthBeforeIcon
- Property for WidthBeforeIcon
事件
None
方法
- ElementBackgroundColor(listview,elementIndex)
- Method for ElementBackgroundColor
- ElementBackgroundColor_(listview,elementIndex,argb)
- Method for ElementBackgroundColor_
- ElementHeight(listview,elementIndex)
- Method for ElementHeight
- ElementHeight_(listview,elementIndex,height)
- Method for ElementHeight_
- ElementValue(listview,elementIndex)
- Method for ElementValue
- ElementValue_(listview,elementIndex,value)
- Method for ElementValue_
- ExtraButtonBackgroundColor(listview,elementIndex)
- Method for ExtraButtonBackgroundColor
- ExtraButtonBackgroundColor_(listview,elementIndex,argb)
- Method for ExtraButtonBackgroundColor_
- ExtraButtonHeight(listview,elementIndex)
- Method for ExtraButtonHeight
- ExtraButtonHeight_(listview,elementIndex,height)
- Method for ExtraButtonHeight_
- ExtraButtonImage(listview,elementIndex)
- Method for ExtraButtonImage
- ExtraButtonImage_(listview,elementIndex,value)
- Method for ExtraButtonImage_
- ExtraButtonShape(listview,elementIndex)
- Method for ExtraButtonShape
- ExtraButtonShape_(listview,elementIndex,shape)
- Method for ExtraButtonShape_
- ExtraButtonText(listview,elementIndex)
- Method for ExtraButtonText
- ExtraButtonTextFontBold(listview,elementIndex)
- Method for ExtraButtonTextFontBold
- ExtraButtonTextFontBold_(listview,elementIndex,bold)
- Method for ExtraButtonTextFontBold_
- ExtraButtonTextFontSize(listview,elementIndex)
- Method for ExtraButtonTextFontSize
- ExtraButtonTextFontSize_(listview,elementIndex,size)
- Method for ExtraButtonTextFontSize_
- ExtraButtonText_(listview,elementIndex,text)
- Method for ExtraButtonText_
- ExtraButtonWidth(listview,elementIndex)
- Method for ExtraButtonWidth
- ExtraButtonWidth_(listview,elementIndex,width)
- Method for ExtraButtonWidth_
- IconBackgroundColor(listview,elementIndex)
- Method for IconBackgroundColor
- IconBackgroundColor_(listview,elementIndex,argb)
- Method for IconBackgroundColor_
- IconHeight(listview,elementIndex)
- Method for IconHeight
- IconHeight_(listview,elementIndex,height)
- Method for IconHeight_
- IconImage(listview,elementIndex)
- Method for IconImage
- IconImage_(listview,elementIndex,value)
- Method for IconImage_
- IconShape(listview,elementIndex)
- Method for IconShape
- IconShape_(listview,elementIndex,shape)
- Method for IconShape_
- IconTextColor(listview,elementIndex)
- Method for IconTextColor
- IconTextColor_(listview,elementIndex,argb)
- Method for IconTextColor_
- IconTextFontBold(listview,elementIndex)
- Method for IconTextFontBold
- IconTextFontBold_(listview,elementIndex,bold)
- Method for IconTextFontBold_
- IconTextFontSize(listview,elementIndex)
- Method for IconTextFontSize
- IconTextFontSize_(listview,elementIndex,size)
- Method for IconTextFontSize_
- IconWidth(listview,elementIndex)
- Method for IconWidth
- IconWidth_(listview,elementIndex,width)
- Method for IconWidth_
- LinkToElement(listview,elementIndex)
- Method for LinkToElement
- Size(listview,elementIndex)
- Method for Size
- SubText(listview,elementIndex)
- Method for SubText
- SubTextColor(listview,elementIndex)
- Method for SubTextColor
- SubTextColor_(listview,elementIndex,argb)
- Method for SubTextColor_
- SubTextFontBold(listview,elementIndex)
- Method for SubTextFontBold
- SubTextFontBold_(listview,elementIndex,bold)
- Method for SubTextFontBold_
- SubTextFontSize(listview,elementIndex)
- Method for SubTextFontSize
- SubTextFontSize_(listview,elementIndex,size)
- Method for SubTextFontSize_
- SubTextHeight(listview,elementIndex)
- Method for SubTextHeight
- SubTextHeight_(listview,elementIndex,height)
- Method for SubTextHeight_
- SubText_(listview,elementIndex,subtext)
- Method for SubText_
- Text(listview,elementIndex)
- Method for Text
- TextColor(listview,elementIndex)
- Method for TextColor
- TextColor_(listview,elementIndex,argb)
- Method for TextColor_
- TextFontBold(listview,elementIndex)
- Method for TextFontBold
- TextFontBold_(listview,elementIndex,bold)
- Method for TextFontBold_
- TextFontSize(listview,elementIndex)
- Method for TextFontSize
- TextFontSize_(listview,elementIndex,size)
- Method for TextFontSize_
- TextHeight(listview,elementIndex)
- Method for TextHeight
- TextHeight_(listview,elementIndex,height)
- Method for TextHeight_
- Text_(listview,elementIndex,text)
- Method for Text_
- UnderlineColor(listview,elementIndex)
- Method for UnderlineColor
- UnderlineColor_(listview,elementIndex,argb)
- Method for UnderlineColor_
- UnderlineWidth(listview,elementIndex)
- Method for UnderlineWidth
- UnderlineWidth_(listview,elementIndex,lineWidth)
- Method for UnderlineWidth_
- UseGlobalProperties(listview,elementIndex)
- Method for UseGlobalProperties
- UseGlobalProperties_(listview,elementIndex,useGlobal)
- Method for UseGlobalProperties_
- WidthAfterIcon(listview,elementIndex)
- Method for WidthAfterIcon
- WidthAfterIcon_(listview,elementIndex,width)
- Method for WidthAfterIcon_
- WidthBeforeExtraButton(listview,elementIndex)
- Method for WidthBeforeExtraButton
- WidthBeforeExtraButton_(listview,elementIndex,width)
- Method for WidthBeforeExtraButton_
- WidthBeforeIcon(listview,elementIndex)
- Method for WidthBeforeIcon
- WidthBeforeIcon_(listview,elementIndex,width)
- Method for WidthBeforeIcon_
NetworkState
Component for NetworkState
属性
None
事件
- NetworkState(state)
- 反馈网络状态,参数的值为以下字符串:WIFI、2G、3G、4G、未连接网络、未知网络
方法
- GetNetworkState()
- 获取网络状态,返回值为以下字符串:WIFI、2G、3G、4G、未连接网络、未知网络
NotificationStyle
Component for NotificationStyle
属性
- Channel
- 获取通道名称。
- ColorNotification
- 获得通知的颜色。
- IconNotification
- 获取图标资源的路径。
- ImportanceChannel
- 获取优先通道。
- PriorityNotification
- 获得优先通知。
事件
- CallbackButtonAction(nameAction)
- 单击任何操作按钮时,该块将返回相应按钮的名称。
- CallbackButtonProgress(nameButton)
- 返回进度通知中按下的操作按钮的名称。
- CallbackMessage(message,timestamp)
- 返回通知中输入的消息。
- CallbackMusicPlayer(nameAction)
- 当点击媒体样式通知的任意按钮时,该块中返回Action的名称。
方法
- ActionNotification(title,subtitle,bigText,bigPicture,largeIcon,listButtons,startValue,id)
- 通过此块,可以在通知中创建最多三个操作按钮,此外,还可以添加“超链接”。
- BigPictureNotification(title,subtitle,bigPicture,largeIcon,startValue,id)
- 创建带有大图片的通知,此外还可以添加标题、副标题和大图标。
- CancelAllNotification()
- 取消所有通知。
- CancelMusicNotification()
- 删除 MediaStyle 通知。
- CancelNotification(id)
- 取消指定消息的通知。
- CancelProgressNotification()
- 取消进度通知。
- ClearAllMessage()
- 当调用 MessageReceiverNotification 方法时,它会存储添加的消息,要删除,请使用此方法。
- ConfirmSendingMessage()
- 如果用户响应通知中的消息,它将显示一个加载图标,直到该块被使用。
- GetFavorite()
- 获取该歌曲是否被标记为收藏。
- LargeIconNotification(title,subtitle,bigText,largeIcon,startValue,id)
- 在通知中显示带有标题和副标题的大图标。
- PauseMusicNotification()
- 带有播放按钮显示 MediaStyle 的通知。
- PlayMusicNotification()
- 显示带有暂停按钮的 MediaStyle 通知。
- ProgressNotification(title,subtitle,subtext,buttons,currentProgress,maxProgress,indeterminate,ongoing)
- 创建带有进度条的通知。
- ReceiverMessageNotification(group,message,sender,timestamp)
- 通过这个块,可以显示收到的消息通知,并可以在栏中回复。
- SetProgress(subtitle,subtext,currentProgress)
- 调整通知进度条。
- SetupMusicNotification(title,subtitle,largeIcon,favorite)
- 启动 MediaStyle 通知初始化。
- SimpleNotification(title,subtitle,bigText,startValue,id)
- 创建一个带有标题和副标题的简单通知,能够在副标题中显示大文本。
PhoneInfo
获取手机等设备软硬件、版本等相关信息。详细用法及步骤请参考这里。
属性
None
事件
None
方法
- GetDeviceID()
- 获取设备ID
- GetLocationState()
- 获取定位功能状态,返回值为:开启或关闭
- GetMacAddress()
- 获取网卡MAC地址信息
- GetPhoneModel()
- 获取本机手机型号
- GetPhoneNumber()
- 获取本机手机号码。无SIM卡设备将返回空文本;双SIM卡设备将返回主卡号码。
- GetReleaseVersion()
- 获取系统版本
- GetSDKVersion()
- 获取SDK版本
- SysLang()
- 获取系统默认语言。
SQLite
超流行兼容主流SQL语法的迷你本地数据库引擎。详细用法及步骤请参考这里。
属性
- DBName
- Name of the database.
- DBVersion
- Version of the database.
- DebugDialog
- Display debugging messages as alerts.
- DebugToast
- Display debugging messages as toast messages.
- ReturnColumnNames
- Should result lists contain column names.
事件
- AfterDelete(tag,rowCount)
- This event fires after an asynchronous Delete call. The tag specified in the original call and the number of deleted rows are provided.
- AfterExecute(tag,result)
- This event fires after an ExecuteSQLAsync call. The tag specified in the original call and the result of the execution are provided.
- AfterExecuteFile(tag,execCount)
- This event fires after an ExecuteFileAsync. The tag specified in the original call and the result of the execution are provided.
- AfterInsert(tag,rowId)
- This event fires after an asynchronous Insert call. The tag specified in the original call and the row ID of the new row are provided.
- AfterInsertFile(tag,rowCount)
- This event fires after an asynchronous InsertFile call. The tag specified in the original call and the count of inserted rows are provided.
- AfterReplace(tag,rowId)
- This event fires after an asynchronous Replace call. The tag specified in the original call and the row ID of the new or updated row are provided.
- AfterSelect(tag,rowCount,rows)
- This event fires after an asynchronous Select call. The tag specified in the original call, the number of returned rows, and the result rows are provided.
- AfterUpdate(tag,rowCount)
- This event fires after an asynchronous Update call. The tag specified in the original call and the number of changed rows are provided.
- DatabaseClosed()
- This event fires when the database is closed.
- DatabaseCreated()
- This event fires when the database is created.
- DatabaseDowngrade(oldVersion,newVersion)
- This event fires when the database is downgraded. The previous and new version numbers are provided. Use this event to modify the database as required by the version change.
- DatabaseOpened()
- This event fires when the database is opened.
- DatabaseUpgrade(oldVersion,newVersion)
- This event fires when the database is upgraded. The previous and new version numbers are provided. Use this event to modify the database as required by the version change.
- SQLError(message)
- This event fires when a SQL error occurs. The error message is provided.
方法
- BeginTransaction()
- Begin a transaction.
- CloseDatabase()
- Closes the database.
- CommitTransaction()
- Commit a transaction.
- DatabaseExists()
- Returns true if the database file exists, false otherwise.
- DatabasePath()
- Returns the path to the database.
- Delete(table,whereClause,bindParams)
- Executes a SQL DELETE statement.
- DeleteAsync(tag,table,whereClause,bindParams)
- Executes a SQL DELETE statement, asynchronously.
- DeleteDatabase()
- Delete the database.
- Execute(sql,bindParams)
- Execute a single, parameterized SQL statement that is NOT a SELECT.
- ExecuteAsync(tag,sql,bindParams)
- Execute a single, parameterized SQL statement that is NOT a SELECT, asynchronously.
- ExecuteFile(fileName)
- Execute multiple SQL statements from a file.
- ExecuteFileAsync(tag,fileName)
- Execute multiple SQL statements from a file, asynchronously.
- ExportDatabase(fileName)
- Exports the database. This is probably not best done on the main thread.
- ImportDatabase(fileName)
- Import a SQLite database file. This is probably not best done on the main thread.
- Insert(table,columns,values)
- Executes a SQL INSERT statement.
- InsertAsync(tag,table,columns,values)
- Executes a SQL INSERT statement, asynchronously.
- InsertFile(table,fileName)
- Inserts rows from a file.
- InsertFileAsync(tag,table,fileName)
- Inserts rows from a file, asynchronously.
- IsDatabaseOpen()
- Indicates if the database has been opened or not.
- OpenDatabase()
- Opens the database.
- Replace(table,columns,values)
- Executes a SQL REPLACE statement.
- ReplaceAsync(tag,table,columns,values)
- Executes a SQL REPLACE statement, asynchronously.
- RollbackTransaction()
- Rollback a transaction.
- Select(table,distinct,columns,whereClause,bindParams,groupBy,having,orderBy,limit)
- Executes a SQL SELECT statement.
- SelectAsync(tag,table,distinct,columns,whereClause,bindParams,groupBy,having,orderBy,limit)
- Executes a SQL SELECT statement, asynchronously.
- SelectSQL(sql,bindParams)
- Execute a single, parameterized SQL SELECT statement and returns a list of records.
- SelectSQLAsync(tag,sql,bindParams)
- Execute a single, parameterized SQL SELECT statement, asynchronously.
- TableCount()
- Returns the number of tables in the database.
- TableExists(table)
- Returns true if the table exists in the database, false otherwise.
- TableNames()
- Returns a list of names of the tables in the the database.
- TableRowCount(table)
- Returns the number of records in a table.
- Update(table,columns,values,whereClause,bindParams)
- Executes a SQL UPDATE statement.
- UpdateAsync(tag,table,columns,values,whereClause,bindParams)
- Executes a SQL UPDATE statement, asynchronously.
Screenshot
Component for Screenshot
属性
- FileName
- Set fileName
事件
- AfterScreenshot(image)
- The AfterScreenshot event
方法
- TakeScreenshot()
- Take a screenshot
Shortcut
Component for Shortcut
属性
None
事件
None
方法
- CreateShortcut(name,icon,packageName,duplicate)
- 在 Android 手机桌面上创建快捷方式。
Sidebar
Component for Sidebar
属性
None
事件
- AfterSelecting(itemPosition,itemValue,iconCode)
- 菜单项选择后的事件。
方法
- Create(input2,listItem,icons,imagen)
- 创建侧边栏。
- Hide()
- 隐藏侧边栏。
- IsShow()
- 侧边栏是否是显示状态。
- Show()
- 显示侧边栏。
StatusBarTools
Component for StatusBarTools
属性
None
事件
None
方法
- BGTransparentColor(hexColor)
- 背景更改为透明颜色。
- BackgroundColor(hexColor)
- 修改背景颜色。
- BackgroundTransparent()
- 背景更改为透明。
- IconDark()
- 图标颜色更改为深色。
- IconLight()
- 图标颜色更改为浅色。