public final class

Scope

extends Object
implements Parcelable Parcelable
java.lang.Object
   ↳ com.google.android.gms.common.api.Scope

Class Overview

Describes an OAuth 2.0 scope to request. This has security implications for the user, and requesting additional scopes will result in authorization dialogs.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<Scope> CREATOR
Public Constructors
Scope(String scopeUri)
Creates a new scope with the given URI.
Public Methods
boolean equals(Object o)
int hashCode()
String toString()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<Scope> CREATOR

Public Constructors

public Scope (String scopeUri)

Creates a new scope with the given URI.

Parameters
scopeUri String

Public Methods

public boolean equals (Object o)

Parameters
o Object
Returns
boolean

public int hashCode ()

Returns
int

public String toString ()

Returns
String

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int