Home > SCH_PrimitiveComponent > get
SCH_PrimitiveComponent.get() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Get Device
Signature
typescript
function get(primitiveIds: string): Promise<ISCH_PrimitiveComponent | undefined>;1
Parameters
Parameter | Type | Description |
|---|---|---|
primitiveIds | string | Device primitive ID, which can be a string or an array of strings. If it is an array, an array is also returned |
Returns
Promise<ISCH_PrimitiveComponent | undefined>
Device primitive object, undefined indicates that the retrieval failed