Table of Contents

Class MemoryPressureSettings

Namespace
WebKit
Assembly
WebKit-6.0.dll
public sealed class MemoryPressureSettings : BoxedRecord, IEquatable<MemoryPressureSettings>
Inheritance
MemoryPressureSettings
Implements
Inherited Members

Constructors

MemoryPressureSettings(MemoryPressureSettingsOwnedHandle)

public MemoryPressureSettings(MemoryPressureSettingsOwnedHandle handle)

Parameters

handle MemoryPressureSettingsOwnedHandle

Properties

Handle

public MemoryPressureSettingsOwnedHandle Handle { get; }

Property Value

MemoryPressureSettingsOwnedHandle

Methods

Copy()

[Version("2.34")]
public MemoryPressureSettings Copy()

Returns

MemoryPressureSettings

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Equals(MemoryPressureSettings?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(MemoryPressureSettings? other)

Parameters

other MemoryPressureSettings

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Free()

[Version("2.34")]
public void Free()

GetConservativeThreshold()

[Version("2.34")]
public double GetConservativeThreshold()

Returns

double

GetGType()

public static Type GetGType()

Returns

Type

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetKillThreshold()

[Version("2.34")]
public double GetKillThreshold()

Returns

double

GetMemoryLimit()

[Version("2.34")]
public uint GetMemoryLimit()

Returns

uint

GetPollInterval()

[Version("2.34")]
public double GetPollInterval()

Returns

double

GetStrictThreshold()

[Version("2.34")]
public double GetStrictThreshold()

Returns

double

New()

[Version("2.34")]
public static MemoryPressureSettings New()

Returns

MemoryPressureSettings

SetConservativeThreshold(double)

[Version("2.34")]
public void SetConservativeThreshold(double value)

Parameters

value double

SetKillThreshold(double)

[Version("2.34")]
public void SetKillThreshold(double value)

Parameters

value double

SetMemoryLimit(uint)

[Version("2.34")]
public void SetMemoryLimit(uint memoryLimit)

Parameters

memoryLimit uint

SetPollInterval(double)

[Version("2.34")]
public void SetPollInterval(double value)

Parameters

value double

SetStrictThreshold(double)

[Version("2.34")]
public void SetStrictThreshold(double value)

Parameters

value double