Person.Name | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
- - Google Play
  - Publishing
  - Promoting
  - App Quality
  - Spotlight
  - Open Distribution

## Results

Loading...
Summary: Methods | Inherited Methods | [Expand All]
public static interface

# Person.Name

implements Freezable<T>

com.google.android.gms.plus.model.people.Person.Name

## Class Overview

An object representation of the individual components of a person's name.

## Summary

Public Methods
abstract String | getFamilyName() The family name (last name) of this person.
abstract String | getFormatted() The full name of this person, including middle names, suffixes, etc.
abstract String | getGivenName() The given name (first name) of this person.
abstract String | getHonorificPrefix() The honorific prefixes (such as "Dr." or "Mrs.") for this person.
abstract String | getHonorificSuffix() The honorific suffixes (such as "Jr.") for this person.
abstract String | getMiddleName() The middle name of this person.
abstract boolean | hasFamilyName() Indicates whether the "familyName" field is explicitly set to a value.
abstract boolean | hasFormatted() Indicates whether the "formatted" field is explicitly set to a value.
abstract boolean | hasGivenName() Indicates whether the "givenName" field is explicitly set to a value.
abstract boolean | hasHonorificPrefix() Indicates whether the "honorificPrefix" field is explicitly set to a value.
abstract boolean | hasHonorificSuffix() Indicates whether the "honorificSuffix" field is explicitly set to a value.
abstract boolean | hasMiddleName() Indicates whether the "middleName" field is explicitly set to a value.

[Expand] Inherited Methods
From interface com.google.android.gms.common.data.Freezable
abstract T | freeze() Freeze a volatile representation into an immutable representation.

## Public Methods

#### public abstract String getFamilyName ()

The family name (last name) of this person.

#### public abstract String getFormatted ()

The full name of this person, including middle names, suffixes, etc.

#### public abstract String getGivenName ()

The given name (first name) of this person.

#### public abstract String getHonorificPrefix ()

The honorific prefixes (such as "Dr." or "Mrs.") for this person.

#### public abstract String getHonorificSuffix ()

The honorific suffixes (such as "Jr.") for this person.

#### public abstract String getMiddleName ()

The middle name of this person.

#### public abstract boolean hasFamilyName ()

Indicates whether the "familyName" field is explicitly set to a value.

#### public abstract boolean hasFormatted ()

Indicates whether the "formatted" field is explicitly set to a value.

#### public abstract boolean hasGivenName ()

Indicates whether the "givenName" field is explicitly set to a value.

#### public abstract boolean hasHonorificPrefix ()

Indicates whether the "honorificPrefix" field is explicitly set to a value.

#### public abstract boolean hasHonorificSuffix ()

Indicates whether the "honorificSuffix" field is explicitly set to a value.

#### public abstract boolean hasMiddleName ()

Indicates whether the "middleName" field is explicitly set to a value.