DeviceLink

constructor(shortCode: String, description: String? = null, isVendor: Boolean = false, regions: List<String>? = null, targets: List<String>? = null)(source)

Parameters

shortCode

the msh.to short code, e.g. rak_wismeshtag, rokland-heltec-v3.

description

human-readable label shown to the user.

isVendor

true for a first-party vendor link (shown more prominently than region-filtered marketplace links).

regions

marketplace shipping regions (ISO 3166-1 alpha-2). null = not region-filtered (vendor/worldwide); non-empty = limited to the listed countries.

targets

device platformioTargets this link is attached to; used to match a link to the device on screen.