Person.Urls | 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: Nested Classes | Methods | Inherited Methods | [Expand All]
public static interface

# Person.Urls

implements Freezable<T>

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

## Summary

Nested Classes
class | Person.Urls.Type | The type of URL.

Public Methods
abstract int | getType() The type of URL.
abstract String | getValue() The URL value.
abstract boolean | hasPrimary() Indicates whether the "primary" field is explicitly set to a value.
abstract boolean | hasType() Indicates whether the "type" field is explicitly set to a value.
abstract boolean | hasValue() Indicates whether the "value" field is explicitly set to a value.
abstract boolean | isPrimary() If "true", this URL is the person's primary URL.

[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 int getType ()

The type of URL. Possible values are: - "home" - URL for home. - "work" - URL for work. - "blog" - URL for blog. - "profile" - URL for profile. - "other" - Other.

#### public abstract String getValue ()

The URL value.

#### public abstract boolean hasPrimary ()

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

#### public abstract boolean hasType ()

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

#### public abstract boolean hasValue ()

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

#### public abstract boolean isPrimary ()

If "true", this URL is the person's primary URL.