目录

ReceiverFilter

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 Class Summary

Nested classes/interfaces inherited from interface android.os.Parcelable

android.os.Parcelable.ClassLoaderCreator, android.os.Parcelable.Creator

Field Summary

Fields inherited from interface android.os.Parcelable

CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE

Constructor Summary

Constructor and Description

ReceiverFilter(java.lang.String pkgName, java.lang.String action) Constructor.

Method Summary

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

Constructor Detail

[h2]ReceiverFilter

public ReceiverFilter(java.lang.String pkgName, java.lang.String action)

Constructor.

Parameters:

Parameter Name

Parameter Description

pkgName

Filtered package name.

action

Filtered action.

Method Detail

[h2]getPkgName

public java.lang.String getPkgName()

Obtains the package name.

Returns:

Package name.

[h2]setPkgName

public void setPkgName(java.lang.String pkgName)

Sets the package name.

Parameters:

Parameter Name

Parameter Description

pkgName

Package name.

[h2]getAction

public java.lang.String getAction()

Obtains the action.

Returns:

action

[h2]setAction

public void setAction(java.lang.String action)

Sets the action.

Parameters:

Parameter Name

Parameter Description

action

Action.