Class Info |
|---|
public class BeaconMsgCondition implements Parcelable 定义信标消息附件过滤条件,只有符合此条件定义的信标会触发通知。 如果有多个过滤条件,不同条件间为逻辑或关系,符合任意一条条件即会触发通知。 注意: 使用此条件,需要待过滤的信标在云端注册并配置消息附件。 |
Qualifier and Type | Field and Description |
|---|---|
static final Parcelable.Creator<BeaconMsgCondition > | 实现Parcelable接口必须提供的实例。 |
Qualifier and Type | Method Name and Description |
|---|---|
final int | 返回当前Parcelable对象描述。 |
boolean | equals(Object object) 判断其他对象是否与本实例相同。 |
String | 获取信标ID。 |
int | 获取信标类型。 |
String | 获取定义的命名空间。 |
String | getType() 获取定义的类型。 |
int | hashCode() 获取哈希值。 |
String | toString() 把对象转化成可读的字符串。 |
final void | writeToParcel(Parcel dest, int flags) 序列化打包。 |
Fields |
|---|
public static final Parcelable.Creator<BeaconMsgCondition > CREATOR 实现Parcelable接口必须提供的实例。 |
Method |
|---|
public final int describeContents() 返回当前Parcelable对象描述。 |
Returns
Type | Description |
|---|---|
int | 当前Parcelable对象描述。返回值如下:
|
Method |
|---|
public boolean equals(Object object) 判断其他对象是否与本实例相同。 |
Parameters
Name | Description |
|---|---|
object | 其他对象。 |
Returns
Type | Description |
|---|---|
boolean |
|
Method |
|---|
public int getbeaconType() 获取信标类型。 |
Returns
Type | Description |
|---|---|
int | 返回信标类型,类型请查看BeaconPicker。 |
Method |
|---|
public String getNamespace() 获取定义的命名空间。 |
Returns
Type | Description |
|---|---|
String | 返回定义的命名空间。 |