Extensions.Flash.GetListOfValidFlashSessions

From emotive
Jump to navigation Jump to search

Classification

Name GetListOfValidFlashSessions
Short Description Returns a list of valid flash sessions
Class Term
Extension OTX Flash extension
Group Flash session related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

ListTerm = Flash.GetListOfValidFlashSessions(Direction, ComChannelTerm, Audience);

Description

The GetListOfValidFlashSessions term is a list of strings to the valid FlashSessions identified.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
List List of valid FlashSessions.

Properties

Name Data Type Class Default Cardinality Description
ComChannel ComChannel Term - [1] Communication Channel.
Audience Audience Value @Audience:SUPPLIER [0..1] This optional attribute defines a filter to a special audience. Only Flash sessions with the specified audience will be returned. When the attribute is not set, no filtering is performed. Audiences = {SUPPLIER|DEVELOPMENT|MANUFACTURING|AFTER SALES|AFTERMARKET}.
Direction Direction Value UPLOAD [0..1] This attribute defines the type of Flash sessions is returned. Directions = {UPLOAD|DOWNLOAD}.

OTL Examples

DiagCom.ComChannel ComChannel1;
List<String> List1;

ComChannel1 = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
List1 = Flash.GetListOfValidFlashSessions(@Directions:DOWNLOAD, ComChannel1, @Audiences:SUPPLIER);

See also

GetFlashSession
GetSessionID
GetSessionPriority
GetNumberOfBlocks
IsDownloadSession
GetFlashKey