Stay organized with collections
Save and categorize content based on your preferences.
DeviceFilter
class DeviceFilter : Parcelable
Summary
Nested classes
|
|
Builder class for DeviceFilter.
|
|
Direct use of the Google Play Services DTDI SDK is not supported. You should use the Cross Device SDK for creating cross device experiences. The possible trust relationship types, indicating what level of trust devices are able to be filtered.
|
Public methods
getFeatureFilter
@Nullable fun getFeatureFilter(): String?
getTrustRelationshipFilter
fun getTrustRelationshipFilter(): Int
hashCode
fun hashCode(): Int
writeToParcel
fun writeToParcel(
dest: Parcel!,
flags: Int
): Unit
Properties
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 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 2024-10-31 UTC."],[[["`DeviceFilter` is a Parcelable class used for filtering devices based on features and trust relationships."],["It offers methods to get feature filters (`getFeatureFilter`) and trust relationship filters (`getTrustRelationshipFilter`)."],["Developers can build `DeviceFilter` instances using the provided `Builder` class."],["The `TrustRelationshipType` enum defines the possible trust levels for filtering devices, including unspecified, my devices only, and trusted contacts."],["Direct use of the Google Play Services DTDI SDK, which includes `DeviceFilter`, is discouraged in favor of the Cross Device SDK for building cross-device experiences."]]],[]]