Stay organized with collections
Save and categorize content based on your preferences.
ExactSessionTagMatcher
@RequiresApi(value = 26) class ExactSessionTagMatcher : ApplicationSessionTagMatcher
An ApplicationSessionTagMatcher
that matches ApplicationSessionTag
objects when their ApplicationSessionTag.sessionTag
strings are the same.
Summary
Public constructors
Public functions
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ExactSessionTagMatcher\n======================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/com/google/ambient/crossdevice/sessions/ExactSessionTagMatcher \"View this page in Java\")\n\n\n```\n@RequiresApi(value = 26) class ExactSessionTagMatcher : ApplicationSessionTagMatcher\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nAn [ApplicationSessionTagMatcher](/reference/kotlin/com/google/ambient/crossdevice/sessions/ApplicationSessionTagMatcher) that matches [ApplicationSessionTag](/reference/kotlin/com/google/ambient/crossdevice/sessions/ApplicationSessionTag) objects when their [ApplicationSessionTag.sessionTag](/reference/kotlin/com/google/ambient/crossdevice/sessions/ApplicationSessionTag#sessionTag()) strings are the same.\n\nSummary\n-------\n\n| ### Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [ExactSessionTagMatcher](/reference/kotlin/com/google/ambient/crossdevice/sessions/ExactSessionTagMatcher#ExactSessionTagMatcher(com.google.ambient.crossdevice.sessions.ApplicationSessionTag))`(` ` applicationSessionTagToMatch: `[ApplicationSessionTag](/reference/kotlin/com/google/ambient/crossdevice/sessions/ApplicationSessionTag)`?` `)` |\n\n| ### Public functions ||\n|----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `open `[Boolean](/reference/kotlin/kotlin/Boolean) | [matchSessionTag](/reference/kotlin/com/google/ambient/crossdevice/sessions/ExactSessionTagMatcher#matchSessionTag(com.google.ambient.crossdevice.sessions.ApplicationSessionTag))`(applicationSessionTag: `[ApplicationSessionTag](/reference/kotlin/com/google/ambient/crossdevice/sessions/ApplicationSessionTag)`?)` |\n\nPublic constructors\n-------------------\n\n### ExactSessionTagMatcher\n\n```\nExactSessionTagMatcher(\n applicationSessionTagToMatch: ApplicationSessionTag?\n)\n```\n\nPublic functions\n----------------\n\n### matchSessionTag\n\n```\nopen fun matchSessionTag(applicationSessionTag: ApplicationSessionTag?): Boolean\n```"]]