Table of Contents

Class FencedFrameConfig

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The FencedFrameConfig interface represents the navigation of a fencedframe, i.e., what content will be displayed in it.
[Value("FencedFrameConfig")]
public class FencedFrameConfig
Inheritance
FencedFrameConfig
Inherited Members

Remarks

FencedFrameConfig objects cannot be constructed manually via JavaScript. They are returned from a source such as the Protected Audience API and set as the value of Config.

A FencedFrameConfig object instance has an exposed method, but it also maps to internal config information containing opaque properties not accessible from JavaScript. This includes information such as the source of the loaded content and interest groups for advertising purposes. It is key to how fenced frames help to implement key use cases while respecting user privacy.

-Fenced frames on privacysandbox.google.com
-The Privacy Sandbox on privacysandbox.google.com

See also on MDN

Constructors

FencedFrameConfig()

public FencedFrameConfig()

FencedFrameConfig(string)

public FencedFrameConfig(string url)

Parameters

url string

Methods

SetSharedStorageContext(string)

NOTE
Experimental
The setSharedStorageContext() method of the
FencedFrameConfig interface passes in contextual data from the embedding document to the <fencedframe>'s shared storage.
[Value("setSharedStorageContext")]
public GlobalObject.Undefined SetSharedStorageContext(string contextString)

Parameters

contextString string

Returns

GlobalObject.Undefined

None (Undefined).

Remarks

-Fenced frames on privacysandbox.google.com
-The Privacy Sandbox on privacysandbox.google.com

See also on MDN