Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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
Credentials (int pid, int uid, int gid)
Public Methods
int getGid ()
int getPid ()
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