Stay organized with collections
Save and categorize content based on your preferences.
ExactSessionTagMatcher
@RequiresApi(value = 26) public final class ExactSessionTagMatcher implements ApplicationSessionTagMatcher
An ApplicationSessionTagMatcher
that matches ApplicationSessionTag
objects when their ApplicationSessionTag.sessionTag
strings are the same.
Summary
Public constructors
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,["# ExactSessionTagMatcher\n======================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/com/google/ambient/crossdevice/sessions/ExactSessionTagMatcher \"View this page in Kotlin\") \\|Java\n\n\n```\n@RequiresApi(value = 26) public final class ExactSessionTagMatcher implements ApplicationSessionTagMatcher\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn [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\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [ExactSessionTagMatcher](/reference/com/google/ambient/crossdevice/sessions/ExactSessionTagMatcher#ExactSessionTagMatcher(com.google.ambient.crossdevice.sessions.ApplicationSessionTag))`(` ` `[ApplicationSessionTag](/reference/com/google/ambient/crossdevice/sessions/ApplicationSessionTag)` applicationSessionTagToMatch` `)` |\n\n| ### Public methods ||\n|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `boolean` | [matchSessionTag](/reference/com/google/ambient/crossdevice/sessions/ExactSessionTagMatcher#matchSessionTag(com.google.ambient.crossdevice.sessions.ApplicationSessionTag))`(`[ApplicationSessionTag](/reference/com/google/ambient/crossdevice/sessions/ApplicationSessionTag)` applicationSessionTag)` |\n\nPublic constructors\n-------------------\n\n### ExactSessionTagMatcher\n\n```\npublic final ExactSessionTagMatcher(\n ApplicationSessionTag applicationSessionTagToMatch\n)\n```\n\nPublic methods\n--------------\n\n### matchSessionTag\n\n```\npublic boolean matchSessionTag(ApplicationSessionTag applicationSessionTag)\n```"]]