Table of Contents

Class Platform

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

Represents game's platform.

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

Constructors

Platform()

Creates new instance of Platform.

public Platform()

Platform(string)

Creates new instance of Platform with specific name.

public Platform(string name)

Parameters

name string

Platform name.

Fields

Empty

Gets empty platform.

public static readonly Platform Empty

Field Value

Platform

Properties

Background

Gets or sets default game background image.

public string Background { get; set; }

Property Value

string

Cover

Gets or sets default game cover.

public string Cover { get; set; }

Property Value

string

Icon

Gets or sets platform icon.

public string Icon { get; set; }

Property Value

string

SpecificationId

Gets or sets specification identifier.

public string SpecificationId { get; set; }

Property Value

string

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.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.