Table of Contents

Class PermissionsPolicy

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
[Value("PermissionsPolicy")]
public class PermissionsPolicy
Inheritance
PermissionsPolicy
Inherited Members

Constructors

PermissionsPolicy()

public PermissionsPolicy()

Methods

AllowedFeatures()

[Value("allowedFeatures")]
public List<string> AllowedFeatures()

Returns

List<string>

AllowsFeature(string, string)

[Value("allowsFeature")]
public bool AllowsFeature(string feature, string origin = null)

Parameters

feature string
origin string

Returns

bool

Features()

[Value("features")]
public List<string> Features()

Returns

List<string>

GetAllowlistForFeature(string)

[Value("getAllowlistForFeature")]
public List<string> GetAllowlistForFeature(string feature)

Parameters

feature string

Returns

List<string>