Class FencedFrameConfig
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalFencedFrameConfig 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
Constructors
FencedFrameConfig()
public FencedFrameConfig()
FencedFrameConfig(string)
public FencedFrameConfig(string url)
Parameters
urlstring
Methods
SetSharedStorageContext(string)
NOTE
ExperimentalsetSharedStorageContext() method of theFencedFrameConfig interface passes in contextual data from the embedding document to the
<fencedframe>'s shared storage.
[Value("setSharedStorageContext")]
public GlobalObject.Undefined SetSharedStorageContext(string contextString)
Parameters
contextStringstring
Returns
- GlobalObject.Undefined
None (
Undefined).
Remarks
-Fenced frames on privacysandbox.google.com
-The Privacy Sandbox on privacysandbox.google.com