public final class

ContactPoint.Builder

extends androidx.appsearch.builtintypes.ContactPoint.BuilderImpl<ContactPoint.Builder>

 java.lang.Object

↳androidx.appsearch.builtintypes.Thing.BuilderImpl<androidx.appsearch.builtintypes.ContactPoint.BuilderImpl>

↳androidx.appsearch.builtintypes.ContactPoint.BuilderImpl<ContactPoint.Builder>

↳androidx.appsearch.builtintypes.ContactPoint.Builder

Overview

Builder for ContactPoint.

Summary

Fields
from androidx.appsearch.builtintypes.Thing.BuilderImpl<T>mAlternateNames, mCreationTimestampMillis, mDescription, mDocumentScore, mDocumentTtlMillis, mId, mImage, mName, mNamespace, mPotentialActions, mUrl
Constructors
publicBuilder(ContactPoint contactPoint)

Constructor for ContactPoint.Builder with all the existing values of a ContactPoint.

publicBuilder(java.lang.String namespace, java.lang.String id, java.lang.String label)

Constructor for ContactPoint.Builder.

Methods
from androidx.appsearch.builtintypes.ContactPoint.BuilderImpl<T>build, setAddresses, setEmails, setTelephones
from androidx.appsearch.builtintypes.Thing.BuilderImpl<T>addAlternateName, addPotentialAction, clearAlternateNames, clearPotentialActions, setAlternateNames, setCreationTimestampMillis, setDescription, setDocumentScore, setDocumentTtlMillis, setImage, setName, setPotentialActions, setUrl
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder(java.lang.String namespace, java.lang.String id, java.lang.String label)

Constructor for ContactPoint.Builder.

Parameters:

namespace: Namespace for the ContactPoint Document. See .
id: Unique identifier for the ContactPoint Document. See .
label: Label of this ContactPoint document. It could be "Home", "Work" or anything user defined.

public Builder(ContactPoint contactPoint)

Constructor for ContactPoint.Builder with all the existing values of a ContactPoint.