TencentTpnsOppoPushPlugin class
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Properties
- iCallBackResultService ↔ Function
-
nodoc
read / write
Static Methods
-
getNotificationStatus(
) → void - 获取通知栏状态,从callback回调结果
-
getPushStatus(
) → void - 获取OPPO PUSH推送服务状态
-
getPushVersionCode(
) → Future< int> - 获取OPPO PUSH推送服务MCS版本(例如“2.4.0”)
-
getPushVersionName(
) → Future< String> - 获取OPPO PUSH推送服务MCS名称(例如“2400”)
-
getRegister(
) → void - 获取注册OPPO PUSH推送服务的注册ID
-
getSDKVersion(
) → Future< String> - 获取OPPO PUSH推送服务SDK版本(例如”2.1.0”)
-
init(
{bool needLog}) → void - 初始化OPPO PUSH服务,创建默认通道 [...]
-
isSupportPush(
) → Future< bool> - 判断是否手机平台是否支持PUSH [...]
-
openNotificationSetting(
) → void - 打开通知栏设置界面
-
pausePush(
) → void - 暂停接收OPPO PUSH服务推送的消息
-
register(
{String appKey, String appSecret}) → void - 注册OPPO PUSH推送服务 [...]
-
requestNotificationPermission(
) → void - 弹出通知栏权限弹窗(仅一次)
-
resumePush(
) → void - 恢复接收OPPO PUSH服务推送的消息,这时服务器会把暂停时期的推送消息重新推送过来
-
setAppKeySecret(
{String appKey, String appSecret}) → void - 设置appKey等参数,可以覆盖register中的appkey设置 [...]
-
setCallback(
{Function callback}) → void - 设置注册回调
-
setPushTime(
{List< int> weekDays, int startHour, int endHour, int startMin, int endMin}) → void - 设置允许推送时间 API [...]
-
unRegister(
) → void - 解注册OPPO PUSH推送服务