to top
Android APIs
public class

Credentials

extends Object
java.lang.Object
   ↳ android.net.Credentials

Class Overview

A class for representing UNIX credentials passed via ancillary data on UNIX domain sockets. See "man 7 unix" on a desktop linux distro.

Summary

Public Constructors

? Examples
Credentials(int pid, int uid, int gid)
Public Methods

? Examples
int getGid()

? Examples
int getPid()

? Examples
int getUid()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Credentials (int pid, int uid, int gid)

Added in API level 1

Public Methods

public int getGid ()

Added in API level 1

public int getPid ()

Added in API level 1

public int getUid ()

Added in API level 1

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.