Table of Contents

Class Emulator

Namespace
Playnite.SDK.Models
Assembly
Playnite.SDK.dll

Represents system emulator.

public class Emulator : DatabaseObject, INotifyPropertyChanged, IComparable, IIdentifiable
Inheritance
Emulator
Implements
Inherited Members

Constructors

Emulator()

Creates new instance of Emulator.

public Emulator()

Emulator(string)

Creates new instance of Emulator with specific name.

public Emulator(string name)

Parameters

name string

Emulator name.

Properties

AllProfiles

Gets list of all profiles.

public List<EmulatorProfile> AllProfiles { get; }

Property Value

List<EmulatorProfile>

BuiltInConfigId

Gets id of built-in emulator profile.

public string BuiltInConfigId { get; set; }

Property Value

string

BuiltinProfiles

Gets or sets list of emulator profiles.

public ObservableCollection<BuiltInEmulatorProfile> BuiltinProfiles { get; set; }

Property Value

ObservableCollection<BuiltInEmulatorProfile>

CustomProfiles

Gets or sets list of emulator profiles.

public ObservableCollection<CustomEmulatorProfile> CustomProfiles { get; set; }

Property Value

ObservableCollection<CustomEmulatorProfile>

InstallDir

Gets emulator installation directory.

public string InstallDir { get; set; }

Property Value

string

SelectableProfiles

Gets list of all profiles including option for profile auto-select.

public List<EmulatorProfile> SelectableProfiles { get; }

Property Value

List<EmulatorProfile>

Methods

CopyDiffTo(object)

Copies differential properties to target object intance.

public override void CopyDiffTo(object target)

Parameters

target object

Target object instance to receive new data.

GetCopy()

public Emulator GetCopy()

Returns

Emulator

GetProfile(string)

Gets profile by id.

public EmulatorProfile GetProfile(string profileId)

Parameters

profileId string

Returns

EmulatorProfile

ToString()

public override string ToString()

Returns

string