XAMicAnimationProtocol Protocol Reference

Conforms to NSObject
Declared in XAMicAnimationProtocol.h

Overview

The XAMicAnimationProtocol provides a protocl for developers to adopt in their custom microphone animation classes.

– updateFrame: required method

This method will set the right frame to layer

- (void)updateFrame:(CGRect)frame

Parameters

frame

current frame.

Discussion

This method will set the right frame to layer

Declared In

XAMicAnimationProtocol.h

– setHidden: required method

It will hide the layer.

- (void)setHidden:(BOOL)hidden

Parameters

hidden

YES is hidden

Discussion

It will hide the layer.

Declared In

XAMicAnimationProtocol.h

– stopAndRemoveLayer required method

Remove Layer, this method remove the animation first, and then remove the layer from superview

- (void)stopAndRemoveLayer

Discussion

Remove Layer, this method remove the animation first, and then remove the layer from superview

Declared In

XAMicAnimationProtocol.h

  view

You DON’T need to actaully add set or get any methods for the view, this is added so xapp sdk wont throw a warning because if you are using a view controller xapp sdk needs to access to view to add it ass a child view controller.

@property (nonatomic) UIView *view

Discussion

You DON’T need to actaully add set or get any methods for the view, this is added so xapp sdk wont throw a warning because if you are using a view controller xapp sdk needs to access to view to add it ass a child view controller.

Declared In

XAMicAnimationProtocol.h