示例#1
0
 /** @since Available in iOS 4.0 and later. */
 public AVVideoProfileLevel getProfileLevel() {
   if (has(Keys.ProfileLevel())) {
     NSString val = (NSString) get(Keys.ProfileLevel());
     return AVVideoProfileLevel.valueOf(val);
   }
   return null;
 }
示例#2
0
 /** @since Available in iOS 4.0 and later. */
 public AVVideoSettings setProfileLevel(AVVideoProfileLevel profileLevel) {
   set(Keys.ProfileLevel(), profileLevel.value());
   return this;
 }