Extensions.Flash.BlockIsValidForAudience
Revision as of 09:11, 1 August 2014 by Nb (talk | contribs) (Created page with "Category:Flash == Classification == {{ClassificationActivity | BlockIsValidForAudience | Check if a block is valid for a given audience | Term | Flash|OTX Flash exte...")
Contents
Classification
Name | BlockIsValidForAudience |
Short Description | Check if a block is valid for a given audience |
Class | Term |
Extension | OTX Flash extension |
Group | Flash block related terms |
Exceptions | OutOfBoundsException |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
Boolean BlockIsValidForAudience(FlashSession session, Integer block, Audience audience);
Description
The BlockIsValidForAudience term return true if and only if a block is valid for a given audience.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | Return true if a block is valid for a given audience. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Session | FlashSession | Term | - | [1] | The Flash session in which the block is located. |
Block | Integer | Term | - | [1] | The block number. |
Aucience | Audience | Value | @Audience:SUPPLIER | - | This attribute defines which audience shall be used for the check. |
Examples
Boolean result = BlockIsValidForAudience(flashSession, 0, @Audience:SUPPLIER);
See also
GetNumberOfSegments
GetNumberOfOwnIdents
GetNumberOfSecurities
GetLogicalBlockID
GetCompressionEncryption
GetType