java.lang.Object |---com.huawei.hihealth.CommonParam |---|---com.huawei.hihealth.model.ReceiverFilter public class ReceiverFilter extends CommonParam |
Message receiving filter.
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) Constructor. |
Modifier and Type | Method and Description |
|---|---|
java.lang.String | getAction() Obtains the action. |
java.lang.String | getPkgName() Obtains the package name. |
void | setAction(java.lang.String action) Sets the action. |
void | setPkgName(java.lang.String pkgName) Sets the package name. |
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)
Constructor.
Parameters:
Parameter Name | Parameter Description |
|---|---|
pkgName | Filtered package name. |
action | Filtered action. |