QGBaseAnimatedImageFrame+Displaying.h 1.0 KB

12345678910111213141516171819202122232425
  1. // QGBaseAnimatedImageFrame+Displaying.h
  2. // Tencent is pleased to support the open source community by making vap available.
  3. //
  4. // Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
  5. //
  6. // Licensed under the MIT License (the "License"); you may not use this file except in
  7. // compliance with the License. You may obtain a copy of the License at
  8. //
  9. // http://opensource.org/licenses/MIT
  10. //
  11. // Unless required by applicable law or agreed to in writing, software distributed under the License is
  12. // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
  13. // either express or implied. See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. #import "QGBaseAnimatedImageFrame.h"
  16. @interface QGBaseAnimatedImageFrame (Displaying)
  17. @property (nonatomic, strong) NSDate *startDate; //开始播放的时间
  18. @property (nonatomic, assign) NSTimeInterval decodeTime; //解码时间
  19. - (BOOL)shouldFinishDisplaying; //是否需要结束播放(根据播放时长来决定)
  20. @end