public static abstract class BeaconState.TypeFilter extends Object
implements Parcelable

The type of beacon to match. Beacons can be specified by either:

Inherited Constant Summary

Public Method Summary

static BeaconState.TypeFilter
with(String namespace, String type)
Creates a BeaconState.TypeFilter that matches against beacons with the given namespace and type, regardless of the content.
static BeaconState.TypeFilter
with(String namespace, String type, byte[] content)
Creates a BeaconState.TypeFilter that matches against beacons with the given namespace, type, and content.

Inherited Method Summary

Public Methods

public static BeaconState.TypeFilter with (String namespace, String type)

Creates a BeaconState.TypeFilter that matches against beacons with the given namespace and type, regardless of the content.

Parameters
namespace Beacon namespace to match against.
type beacon Type to match against.

public static BeaconState.TypeFilter with (String namespace, String type, byte[] content)

Creates a BeaconState.TypeFilter that matches against beacons with the given namespace, type, and content.

Parameters
namespace Beacon namespace to match against.
type beacon Type to match against.
content Beacon context to match against. This must be an exact byte-for-byte match for the content.