# cp.apple.finalcutpro.timeline.AudioSubrole

Extends Role

A Role representing Audio.


# API Overview

Functions - API calls offered directly by the extension

  • matches

Constructors - API calls which return an object, typically one that offers API methods

  • AudioSubrole

# API Documentation

# Functions

# matches

Signature cp.apple.finalcutpro.timeline.AudioSubrole.matches(element) -> boolean
Type Function
Description Checks if the element is a "Audio" Subrole.
Parameters
  • element - An element to check
Returns
  • A boolean
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/timeline/AudioSubrole.lua line 12

# Constructors

# AudioSubrole

Signature cp.apple.finalcutpro.timeline.AudioSubrole(parent, uiFinder)
Type Constructor
Description Creates a new instance with the specified parent and uiFinder.
Parameters
  • parent - the parent Element.
  • uiFinder - a function or cp.prop containing the axuielement
Returns
  • The new Row.
Notes None
Examples None
Source src/extensions/cp/apple/finalcutpro/timeline/AudioSubrole.lua line 26