This version of Unity is unsupported.

AnimationWindow.canPreview

public bool canPreview;

Description

True if Animation window can enable preview mode. False otherwise. (Read Only)