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

Parameters
pid int
uid int
gid int

Public Methods

public int getGid ()

Added in API level 1

Returns
int

public int getPid ()

Added in API level 1

Returns
int

public int getUid ()

Added in API level 1

Returns
int