java.lang.Object |---com.huawei.hihealth.CommonParam |---|---com.huawei.hihealth.model.ReceiverFilter public class ReceiverFilter extends CommonParam |
消息接收过滤器
Since:
2022-04-18
Nested classes/interfaces inherited from interface android.os.Parcelable |
|---|
android.os.Parcelable.ClassLoaderCreator, android.os.Parcelable.Creator |
Fields inherited from interface android.os.Parcelable |
|---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
Constructor and Description |
|---|
ReceiverFilter(java.lang.String pkgName, java.lang.String action) 构造函数 |
Modifier and Type | Method and Description |
|---|---|
java.lang.String | getAction() 获取action |
java.lang.String | getPkgName() 获取包名 |
void | setAction(java.lang.String action) 设置action |
void | setPkgName(java.lang.String pkgName) 设置包名 |
Methods inherited from class com.huawei.hihealth.CommonParam |
|---|
getBoolean, getDouble, getInt, getString, putBoolean, putDouble, putInt, putString |
Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface android.os.Parcelable |
|---|
describeContents, writeToParcel |
public ReceiverFilter(java.lang.String pkgName, java.lang.String action)
构造函数
Parameters:
Parameter Name | Parameter Description |
|---|---|
pkgName | 过滤的包名 |
action | 过滤的action |