lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

NetPermission

public final class NetPermission
extends BasicPermission

java.lang.Object
   ↳ java.security.Permission
     ↳ java.security.BasicPermission
       ↳ java.net.NetPermission


Legacy security code; do not use.

Summary

Public constructors

NetPermission(String name)
NetPermission(String name, String actions)

Inherited methods

Public constructors

NetPermission

added in API level 1
public NetPermission (String name)

Parameters
name String

NetPermission

added in API level 1
public NetPermission (String name, 
                String actions)

Parameters
name String

actions String