Table of Contents

Class Hotspot

Namespace
InSite.Domain.Banks
Assembly
Shift.Sdk.dll
public class Hotspot
Inheritance
Hotspot
Inherited Members
Extension Methods

Constructors

Hotspot()

public Hotspot()

Fields

MinPinLimit

public const int MinPinLimit = 1

Field Value

int

Properties

Image

public HotspotImage Image { get; }

Property Value

HotspotImage

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

Options

public IReadOnlyList<HotspotOption> Options { get; }

Property Value

IReadOnlyList<HotspotOption>

PinLimit

public int PinLimit { get; set; }

Property Value

int

ShowShapes

public bool ShowShapes { get; set; }

Property Value

bool

Methods

AddOption(HotspotOption)

public void AddOption(HotspotOption option)

Parameters

option HotspotOption

AddOption(HotspotShape)

public HotspotOption AddOption(HotspotShape shape)

Parameters

shape HotspotShape

Returns

HotspotOption

AddOption(Guid, HotspotShape)

public HotspotOption AddOption(Guid id, HotspotShape shape)

Parameters

id Guid
shape HotspotShape

Returns

HotspotOption

Clone()

public Hotspot Clone()

Returns

Hotspot

GetOption(Guid)

public HotspotOption GetOption(Guid id)

Parameters

id Guid

Returns

HotspotOption

GetOption(int)

public HotspotOption GetOption(int number)

Parameters

number int

Returns

HotspotOption

GetOptionIndex(Guid)

public int GetOptionIndex(Guid id)

Parameters

id Guid

Returns

int

IsEqual(Hotspot, bool)

public bool IsEqual(Hotspot other, bool compareIdentifiers = true)

Parameters

other Hotspot
compareIdentifiers bool

Returns

bool

RemoveOption(Guid)

public bool RemoveOption(Guid id)

Parameters

id Guid

Returns

bool

ReorderOptions(IDictionary<int, int>)

public void ReorderOptions(IDictionary<int, int> order)

Parameters

order IDictionary<int, int>

SetQuestionType(QuestionItemType)

public void SetQuestionType(QuestionItemType type)

Parameters

type QuestionItemType

ShouldSerializeImage()

public bool ShouldSerializeImage()

Returns

bool

ShouldSerialize_options()

public bool ShouldSerialize_options()

Returns

bool