Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (C) 2013-2015 RoboVM AB
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.bugvm.apple.avfoundation;
/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import com.bugvm.objc.*;
import com.bugvm.objc.annotation.*;
import com.bugvm.objc.block.*;
import com.bugvm.rt.*;
import com.bugvm.rt.annotation.*;
import com.bugvm.rt.bro.*;
import com.bugvm.rt.bro.annotation.*;
import com.bugvm.rt.bro.ptr.*;
import com.bugvm.apple.foundation.*;
import com.bugvm.apple.corefoundation.*;
import com.bugvm.apple.dispatch.*;
import com.bugvm.apple.coreanimation.*;
import com.bugvm.apple.coreimage.*;
import com.bugvm.apple.coregraphics.*;
import com.bugvm.apple.coreaudio.*;
import com.bugvm.apple.coremedia.*;
import com.bugvm.apple.corevideo.*;
import com.bugvm.apple.mediatoolbox.*;
import com.bugvm.apple.audiotoolbox.*;
import com.bugvm.apple.audiounit.*;
/**/
/**/
/**/
/**/@Library("AVFoundation") @StronglyLinked/**/
@Marshaler(/**/AVMetadataKeyiTunesMetadata/**/.Marshaler.class)
/**/public/**/ class /**/AVMetadataKeyiTunesMetadata/**/
extends /**/AVMetadataKey/**/
/**//**/ {
static { Bro.bind(/**/AVMetadataKeyiTunesMetadata/**/.class); }
/**/
public static class Marshaler {
@MarshalsPointer
public static AVMetadataKeyiTunesMetadata toObject(Class cls, long handle, long flags) {
NSString o = (NSString) NSObject.Marshaler.toObject(NSString.class, handle, flags);
if (o == null) {
return null;
}
return AVMetadataKeyiTunesMetadata.valueOf(o);
}
@MarshalsPointer
public static long toNative(AVMetadataKeyiTunesMetadata o, long flags) {
if (o == null) {
return 0L;
}
return NSObject.Marshaler.toNative(o.value(), flags);
}
}
public static class AsListMarshaler {
@SuppressWarnings("unchecked")
@MarshalsPointer
public static List toObject(Class extends NSObject> cls, long handle, long flags) {
NSArray o = (NSArray) NSObject.Marshaler.toObject(NSArray.class, handle, flags);
if (o == null) {
return null;
}
List list = new ArrayList<>();
for (int i = 0; i < o.size(); i++) {
list.add(AVMetadataKeyiTunesMetadata.valueOf(o.get(i)));
}
return list;
}
@MarshalsPointer
public static long toNative(List l, long flags) {
if (l == null) {
return 0L;
}
NSArray array = new NSMutableArray<>();
for (AVMetadataKeyiTunesMetadata o : l) {
array.add(o.value());
}
return NSObject.Marshaler.toNative(array, flags);
}
}
/**/
/**/
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Album = new AVMetadataKeyiTunesMetadata("Album");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Artist = new AVMetadataKeyiTunesMetadata("Artist");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata UserComment = new AVMetadataKeyiTunesMetadata("UserComment");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata CoverArt = new AVMetadataKeyiTunesMetadata("CoverArt");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Copyright = new AVMetadataKeyiTunesMetadata("Copyright");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata ReleaseDate = new AVMetadataKeyiTunesMetadata("ReleaseDate");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata EncodedBy = new AVMetadataKeyiTunesMetadata("EncodedBy");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata PredefinedGenre = new AVMetadataKeyiTunesMetadata("PredefinedGenre");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata UserGenre = new AVMetadataKeyiTunesMetadata("UserGenre");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata SongName = new AVMetadataKeyiTunesMetadata("SongName");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata TrackSubTitle = new AVMetadataKeyiTunesMetadata("TrackSubTitle");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata EncodingTool = new AVMetadataKeyiTunesMetadata("EncodingTool");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Composer = new AVMetadataKeyiTunesMetadata("Composer");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata AlbumArtist = new AVMetadataKeyiTunesMetadata("AlbumArtist");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata AccountKind = new AVMetadataKeyiTunesMetadata("AccountKind");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata AppleID = new AVMetadataKeyiTunesMetadata("AppleID");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata ArtistID = new AVMetadataKeyiTunesMetadata("ArtistID");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata SongID = new AVMetadataKeyiTunesMetadata("SongID");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata DiscCompilation = new AVMetadataKeyiTunesMetadata("DiscCompilation");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata DiscNumber = new AVMetadataKeyiTunesMetadata("DiscNumber");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata GenreID = new AVMetadataKeyiTunesMetadata("GenreID");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Grouping = new AVMetadataKeyiTunesMetadata("Grouping");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata PlaylistID = new AVMetadataKeyiTunesMetadata("PlaylistID");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata ContentRating = new AVMetadataKeyiTunesMetadata("ContentRating");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata BeatsPerMin = new AVMetadataKeyiTunesMetadata("BeatsPerMin");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata TrackNumber = new AVMetadataKeyiTunesMetadata("TrackNumber");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata ArtDirector = new AVMetadataKeyiTunesMetadata("ArtDirector");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Arranger = new AVMetadataKeyiTunesMetadata("Arranger");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Author = new AVMetadataKeyiTunesMetadata("Author");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Lyrics = new AVMetadataKeyiTunesMetadata("Lyrics");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Acknowledgement = new AVMetadataKeyiTunesMetadata("Acknowledgement");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Conductor = new AVMetadataKeyiTunesMetadata("Conductor");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Description = new AVMetadataKeyiTunesMetadata("Description");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Director = new AVMetadataKeyiTunesMetadata("Director");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata EQ = new AVMetadataKeyiTunesMetadata("EQ");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata LinerNotes = new AVMetadataKeyiTunesMetadata("LinerNotes");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata RecordCompany = new AVMetadataKeyiTunesMetadata("RecordCompany");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata OriginalArtist = new AVMetadataKeyiTunesMetadata("OriginalArtist");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata PhonogramRights = new AVMetadataKeyiTunesMetadata("PhonogramRights");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Producer = new AVMetadataKeyiTunesMetadata("Producer");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Performer = new AVMetadataKeyiTunesMetadata("Performer");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Publisher = new AVMetadataKeyiTunesMetadata("Publisher");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata SoundEngineer = new AVMetadataKeyiTunesMetadata("SoundEngineer");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Soloist = new AVMetadataKeyiTunesMetadata("Soloist");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Credits = new AVMetadataKeyiTunesMetadata("Credits");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata Thanks = new AVMetadataKeyiTunesMetadata("Thanks");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata OnlineExtras = new AVMetadataKeyiTunesMetadata("OnlineExtras");
/**
* @since Available in iOS 4.0 and later.
*/
public static final AVMetadataKeyiTunesMetadata ExecProducer = new AVMetadataKeyiTunesMetadata("ExecProducer");
/**/
private static /**/AVMetadataKeyiTunesMetadata/**/[] values = new /**/AVMetadataKeyiTunesMetadata/**/[] {/**/Album, Artist, UserComment, CoverArt, Copyright, ReleaseDate, EncodedBy, PredefinedGenre, UserGenre, SongName, TrackSubTitle, EncodingTool, Composer, AlbumArtist, AccountKind, AppleID, ArtistID, SongID, DiscCompilation, DiscNumber, GenreID, Grouping, PlaylistID, ContentRating, BeatsPerMin, TrackNumber, ArtDirector, Arranger, Author, Lyrics, Acknowledgement, Conductor, Description, Director, EQ, LinerNotes, RecordCompany, OriginalArtist, PhonogramRights, Producer, Performer, Publisher, SoundEngineer, Soloist, Credits, Thanks, OnlineExtras, ExecProducer/**/};
/**/AVMetadataKeyiTunesMetadata/**/ (String getterName) {
super(Values.class, getterName);
}
public static /**/AVMetadataKeyiTunesMetadata/**/ valueOf(/**/NSString/**/ value) {
for (/**/AVMetadataKeyiTunesMetadata/**/ v : values) {
if (v.value().equals(value)) {
return v;
}
}
throw new IllegalArgumentException("No constant with value " + value + " found in "
+ /**/AVMetadataKeyiTunesMetadata/**/.class.getName());
}
/**//**/
/**/@Library("AVFoundation") @StronglyLinked/**/
public static class Values {
static { Bro.bind(Values.class); }
/**/
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyAlbum", optional=true)
public static native NSString Album();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyArtist", optional=true)
public static native NSString Artist();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyUserComment", optional=true)
public static native NSString UserComment();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyCoverArt", optional=true)
public static native NSString CoverArt();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyCopyright", optional=true)
public static native NSString Copyright();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyReleaseDate", optional=true)
public static native NSString ReleaseDate();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyEncodedBy", optional=true)
public static native NSString EncodedBy();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyPredefinedGenre", optional=true)
public static native NSString PredefinedGenre();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyUserGenre", optional=true)
public static native NSString UserGenre();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeySongName", optional=true)
public static native NSString SongName();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyTrackSubTitle", optional=true)
public static native NSString TrackSubTitle();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyEncodingTool", optional=true)
public static native NSString EncodingTool();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyComposer", optional=true)
public static native NSString Composer();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyAlbumArtist", optional=true)
public static native NSString AlbumArtist();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyAccountKind", optional=true)
public static native NSString AccountKind();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyAppleID", optional=true)
public static native NSString AppleID();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyArtistID", optional=true)
public static native NSString ArtistID();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeySongID", optional=true)
public static native NSString SongID();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyDiscCompilation", optional=true)
public static native NSString DiscCompilation();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyDiscNumber", optional=true)
public static native NSString DiscNumber();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyGenreID", optional=true)
public static native NSString GenreID();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyGrouping", optional=true)
public static native NSString Grouping();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyPlaylistID", optional=true)
public static native NSString PlaylistID();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyContentRating", optional=true)
public static native NSString ContentRating();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyBeatsPerMin", optional=true)
public static native NSString BeatsPerMin();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyTrackNumber", optional=true)
public static native NSString TrackNumber();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyArtDirector", optional=true)
public static native NSString ArtDirector();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyArranger", optional=true)
public static native NSString Arranger();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyAuthor", optional=true)
public static native NSString Author();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyLyrics", optional=true)
public static native NSString Lyrics();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyAcknowledgement", optional=true)
public static native NSString Acknowledgement();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyConductor", optional=true)
public static native NSString Conductor();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyDescription", optional=true)
public static native NSString Description();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyDirector", optional=true)
public static native NSString Director();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyEQ", optional=true)
public static native NSString EQ();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyLinerNotes", optional=true)
public static native NSString LinerNotes();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyRecordCompany", optional=true)
public static native NSString RecordCompany();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyOriginalArtist", optional=true)
public static native NSString OriginalArtist();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyPhonogramRights", optional=true)
public static native NSString PhonogramRights();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyProducer", optional=true)
public static native NSString Producer();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyPerformer", optional=true)
public static native NSString Performer();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyPublisher", optional=true)
public static native NSString Publisher();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeySoundEngineer", optional=true)
public static native NSString SoundEngineer();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeySoloist", optional=true)
public static native NSString Soloist();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyCredits", optional=true)
public static native NSString Credits();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyThanks", optional=true)
public static native NSString Thanks();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyOnlineExtras", optional=true)
public static native NSString OnlineExtras();
/**
* @since Available in iOS 4.0 and later.
*/
@GlobalValue(symbol="AVMetadataiTunesMetadataKeyExecProducer", optional=true)
public static native NSString ExecProducer();
/**/
}
}