Stay organized with collections
Save and categorize content based on your preferences.
ApplicationSessionTagMatcher
@RequiresApi(value = 26) interface ApplicationSessionTagMatcher
Defines how two ApplicationSessionTag
should be matched. Used as a filter when searching for ongoing Sessions.
Summary
Public methods |
abstract boolean |
|
Public methods
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# ApplicationSessionTagMatcher\n============================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/com/google/ambient/crossdevice/sessions/ApplicationSessionTagMatcher \"View this page in Kotlin\") \\|Java\n\n\n```\n@RequiresApi(value = 26) interface ApplicationSessionTagMatcher\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[ExactSessionTagMatcher](/reference/com/google/ambient/crossdevice/sessions/ExactSessionTagMatcher), [MatchEverythingSessionTagMatcher](/reference/com/google/ambient/crossdevice/sessions/MatchEverythingSessionTagMatcher) \n\n|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ExactSessionTagMatcher](/reference/com/google/ambient/crossdevice/sessions/ExactSessionTagMatcher) | An [ApplicationSessionTagMatcher](/reference/com/google/ambient/crossdevice/sessions/ApplicationSessionTagMatcher) that matches [ApplicationSessionTag](/reference/com/google/ambient/crossdevice/sessions/ApplicationSessionTag) objects when their [ApplicationSessionTag.sessionTag](/reference/com/google/ambient/crossdevice/sessions/ApplicationSessionTag#sessionTag()) strings are the same. |\n| [MatchEverythingSessionTagMatcher](/reference/com/google/ambient/crossdevice/sessions/MatchEverythingSessionTagMatcher) | An [ApplicationSessionTagMatcher](/reference/com/google/ambient/crossdevice/sessions/ApplicationSessionTagMatcher) that always returns true. |\n\n*** ** * ** ***\n\nDefines how two [ApplicationSessionTag](/reference/com/google/ambient/crossdevice/sessions/ApplicationSessionTag) should be matched. Used as a filter when searching for ongoing Sessions.\n\nSummary\n-------\n\n| ### Public methods ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `abstract boolean` | [matchSessionTag](/reference/com/google/ambient/crossdevice/sessions/ApplicationSessionTagMatcher#matchSessionTag(com.google.ambient.crossdevice.sessions.ApplicationSessionTag))`(`[ApplicationSessionTag](/reference/com/google/ambient/crossdevice/sessions/ApplicationSessionTag)` applicationSessionTag)` |\n\nPublic methods\n--------------\n\n### matchSessionTag\n\n```\nabstract boolean matchSessionTag(ApplicationSessionTag applicationSessionTag)\n```"]]